Het Dagli
Het Dagli

Reputation: 64

Constant pop-up of print screen on clicking a particular button

I am getting a print screen option on clicking a button. I made no changes to the js or HTML file of my webpage to change the onclick() behavior for the botton, I wrote some kind of a print command in the chrome debugger console and since then the pop-up is coming. I don't exactly remember the command. How do I undo this change? On pushing the code to GitHub, this behavior was repeated in the production environment.

Upvotes: 0

Views: 1082

Answers (1)

Milan
Milan

Reputation: 1

If you use print() instead of console.log() it will bring up a print screen.

Upvotes: 0

Related Questions