Ticket #5565: 5565_2.patch

File 5565_2.patch, 688 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    130130                                element.setStyles(
    131131                                        {
    132132                                                top : top + 'px',
    133                                                 left : '-3000px',
    134                                                 opacity : '0',  // FF3 is ignoring "visibility"
    135133                                                display : ''
    136134                                        });
    137135
     136                                // Don't use display or visibility style because we need to
     137                                // calculate the rendering layout later and focus the element.
     138                                element.setOpacity( 0 );
     139
    138140                                // To allow the context menu to decrease back their width
    139141                                element.getFirst().removeStyle('width');
    140142
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy