Crews were called to the Wakefield Road-based restaurant in Smithies at 8.15pm on Saturday after found that a firework has been ignited in the toilets.
Three fire engines were deployed to the scene.
Nobody is believed to have been injured in the incident.