Skip to content

Commit

Permalink
fix strict mode error in Safari - Merge pull request #64 from 3kthor3…
Browse files Browse the repository at this point in the history
…adward/master

fix strict mode error in Safari - http://eslint.org/docs/rules/no-inner-declarations
Thanks @3kthor3adward
  • Loading branch information
Sathvik Ponangi authored Jan 4, 2017
2 parents b236319 + 36c19ba commit 8bc6de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jQuery.print.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
wdoc.write(content);
wdoc.close();
var printed = false;
function callPrint() {
var callPrint = function () {
if(printed) {
return;
}
Expand Down

0 comments on commit 8bc6de2

Please sign in to comment.