diff --git a/jquery.jqprint-0.3.js b/jquery.jqprint-0.3.js index 3b01c47..b5f41d2 100644 --- a/jquery.jqprint-0.3.js +++ b/jquery.jqprint-0.3.js @@ -18,23 +18,23 @@ opt = $.extend({}, $.fn.jqprint.defaults, options); var $element = (this instanceof jQuery) ? this : $(this); - - if (opt.operaSupport && $.browser.opera) - { - var tab = window.open("","jqPrint-preview"); - tab.document.open(); + //$.browser not supported as of jQuery1.9 + // if (opt.operaSupport && $.browser.opera) + // { + // var tab = window.open("","jqPrint-preview"); + // tab.document.open(); - var doc = tab.document; - } - else - { + // var doc = tab.document; + // } + // else + // { var $iframe = $("