File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 7171 right ( $ ( "img:eq(1)" ) , animate ) ;
7272 left ( $ ( "img:eq(2)" ) . prependTo ( "#container" ) ) ;
7373 }
74- $ ( "#previous" ) . click ( previous ) ;
75- $ ( "#next" ) . click ( next ) ;
74+ $ ( "#previous" ) . on ( "click" , previous ) ;
75+ $ ( "#next" ) . on ( "click" , next ) ;
7676
77- $ ( "img" ) . click ( function ( event ) {
77+ $ ( "img" ) . on ( "click" , function ( event ) {
7878 $ ( "img" ) . index ( this ) === 0 ? previous ( event ) : next ( event ) ;
7979 } ) ;
8080
81- $ ( window ) . resize ( function ( ) {
81+ $ ( window ) . on ( "resize" , function ( ) {
8282 left ( $ ( "img:eq(0)" ) , animate ) ;
8383 center ( $ ( "img:eq(1)" ) , animate ) ;
8484 right ( $ ( "img:eq(2)" ) , animate ) ;
Original file line number Diff line number Diff line change 5454
5555 $ ( ".positionable" ) . css ( "opacity" , 0.5 ) ;
5656
57- $ ( "select, input" ) . bind ( "click keyup change" , position ) ;
57+ $ ( "select, input" ) . on ( "click keyup change" , position ) ;
5858
5959 $ ( "#parent" ) . draggable ( {
6060 drag : position
Original file line number Diff line number Diff line change 5454 drag : function ( ) { position ( ) ; }
5555 } ) ;
5656
57- $ ( "#within" ) . click ( function ( ) {
57+ $ ( "#within" ) . on ( "click" , function ( ) {
5858 within = within . is ( ".demo" ) ? $ ( window ) : $ ( ".demo" ) ;
5959 position ( ) ;
6060 } ) ;
6161
62- $ ( "#margin" ) . click ( function ( ) {
62+ $ ( "#margin" ) . on ( "click" , function ( ) {
6363 positionable . toggleClass ( "extra-margin" ) ;
6464 position ( ) ;
6565 } ) ;
6666
67- $ ( "select, input" ) . bind ( "click keyup change" , function ( ) { position ( ) ; } ) ;
67+ $ ( "select, input" ) . on ( "click keyup change" , function ( ) { position ( ) ; } ) ;
6868
6969 position ( ) ;
7070 } ) ;
Original file line number Diff line number Diff line change 6464 using : using
6565 } ;
6666 } ;
67- $ ( document ) . bind ( "mousemove" , function ( event ) {
67+ $ ( document ) . on ( "mousemove" , function ( event ) {
6868 element . position ( positionWithOffset (
6969 event . pageX - targetOffset . left , event . pageY - targetOffset . top ) ) ;
7070 oppositeElement . position ( positionWithOffset (
You can’t perform that action at this time.
0 commit comments