Ticket #8855: 8855.patch

File 8855.patch, 670 bytes (added by Sa'ar Zac Elias, 12 years ago)
  • _source/plugins/popup/plugin.js

     
    4949
    5050                try
    5151                {
    52                         popupWindow.moveTo( left, top );
    53                         popupWindow.resizeTo( width, height );
     52                        // Chrome 18 is problematic, but it's not really needed here (#8855).
     53                        var ua = navigator.userAgent.toLowerCase();
     54                        if ( ua.indexOf( ' chrome/18' ) == -1 )
     55                        {
     56                                popupWindow.moveTo( left, top );
     57                                popupWindow.resizeTo( width, height );
     58                        }
    5459                        popupWindow.focus();
    5560                        popupWindow.location.href = url;
    5661                }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy