From: Alan Knowles Date: Thu, 14 Apr 2016 07:55:05 +0000 (+0800) Subject: BrowserView.js X-Git-Url: http://git.roojs.org/?p=app.webkitpdf;a=commitdiff_plain;h=ffa36a919e3d1e8bf1d0037e436c50389301eb86 BrowserView.js --- diff --git a/BrowserView.js b/BrowserView.js index 0fb815d..2a088e8 100644 --- a/BrowserView.js +++ b/BrowserView.js @@ -271,10 +271,14 @@ BrowserView = new GType({ var do_print = function(web_frame) { - + var _this = this; var realprint = function() { + if (_this.queue_print > 0) { + return; + } + try { if (current_url.match(/theindependent\.sg\//) ) {