Index: trunk/extensions/Vector/modules/ext.vector.editWarning.js |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | */ |
5 | 5 | $(document).ready( function() { |
6 | 6 | // Check if EditWarning is enabled and if we need it |
7 | | - if ( $( '#wpTextbox1' ).size() == 0 ) { |
| 7 | + if ( $( '#wpTextbox1' ) == null ) { |
8 | 8 | return true; |
9 | 9 | } |
10 | 10 | // Get the original values of some form elements |