File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 2626 closeOnEsc : true ,
2727 closeSpeed : 'fast' ,
2828 effect : 'default' ,
29-
30- // since 1.2. fixed positioning not supported by IE6
31- fixed : ! $ . browser . msie || $ . browser . version > 6 ,
32-
29+ fixed : true ,
3330 left : 'center' ,
3431 load : false , // 1.2
3532 mask : null ,
Original file line number Diff line number Diff line change 4141 function viewport ( ) {
4242
4343 // the horror case
44- if ( $ . browser . msie ) {
44+ if ( $ ( 'html' ) . hasClass ( 'ie' ) ) {
4545
4646 // if there are no scrollbars then use window.height
4747 var d = $ ( document ) . height ( ) , w = $ ( window ) . height ( ) ;
Original file line number Diff line number Diff line change 1010 * Date: @DATE
1111 */
1212( function ( $ ) {
13+
14+ function isIE ( ) {
15+ return $ ( 'html' ) . hasClass ( 'ie' ) ;
16+ }
17+
1318 // static constructs
1419 $ . tools = $ . tools || { version : '@VERSION' } ;
1520
6974 fade : [
7075 function ( done ) {
7176 var conf = this . getConf ( ) ;
72- if ( ! $ . browser . msie || conf . fadeIE ) {
77+ if ( ! isIE ( ) || conf . fadeIE ) {
7378 this . getTip ( ) . fadeTo ( conf . fadeInSpeed , conf . opacity , done ) ;
7479 }
7580 else {
7984 } ,
8085 function ( done ) {
8186 var conf = this . getConf ( ) ;
82- if ( ! $ . browser . msie || conf . fadeIE ) {
87+ if ( ! isIE ( ) || conf . fadeIE ) {
8388 this . getTip ( ) . fadeOut ( conf . fadeOutSpeed , done ) ;
8489 }
8590 else {
You can’t perform that action at this time.
0 commit comments