File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ $.fn.extend({
105
105
// other browsers return a string
106
106
// we ignore the case of nested elements with an explicit value of 0
107
107
// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
108
- value = parseInt ( elem . css ( "zIndex" ) ) ;
109
- if ( ! isNaN ( value ) && value != 0 ) {
108
+ value = parseInt ( elem . css ( "zIndex" ) , 10 ) ;
109
+ if ( ! isNaN ( value ) && value !== 0 ) {
110
110
return value ;
111
111
}
112
112
}
@@ -116,9 +116,9 @@ $.fn.extend({
116
116
117
117
return 0 ;
118
118
} ,
119
-
119
+
120
120
disableSelection : function ( ) {
121
- return this . bind ( $ . support . selectstart ? "selectstart" : "mousedown" +
121
+ return this . bind ( ( $ . support . selectstart ? "selectstart" : "mousedown" ) +
122
122
".ui-disableSelection" , function ( event ) {
123
123
event . preventDefault ( ) ;
124
124
} ) ;
You can’t perform that action at this time.
0 commit comments