BrowserView.js
authorAlan Knowles <alan@roojs.com>
Thu, 14 Apr 2016 07:55:05 +0000 (15:55 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Apr 2016 07:55:05 +0000 (15:55 +0800)
BrowserView.js

index 0fb815d..2a088e8 100644 (file)
@@ -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\//) ) {