File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5858 completeNote : function ( ) {
5959 // i USED FOR NOTES ID
6060 var i = 0 ;
61- $ ( '.qn_container' ) . on ( 'keypress' , '#notes input' , function ( e ) {
61+ this . $el . on ( 'keypress' , '#notes input' , function ( e ) {
6262 // RETURN KEY PRESSED
6363 if ( e . which == 13 || e . keyCode == 13 ) {
6464 var notesInpVal = $ ( '#notes input' ) . val ( ) ;
7373 } ) ;
7474
7575 // SHOW AND HIDE
76- $ ( '.qn_container' ) . on ( 'click' , '#qn_sh span' , function ( ) {
76+ this . $el . on ( 'click' , '#qn_sh span' , function ( ) {
7777 $ ( '.qn_container #notes' ) . slideToggle ( 100 ) ;
7878 } ) ;
7979
8080 // CLICK TO CLOSE NOTES
81- $ ( '.qn_container' ) . on ( 'click' , '#notes .quicknote' , function ( ) {
81+ this . $el . on ( 'click' , '#notes .quicknote' , function ( ) {
8282 $ ( this ) . each ( function ( ) {
8383 $ ( this ) . stop ( ) . fadeOut ( 'fast' , function ( ) {
8484 $ ( this ) . remove ( ) ;
You can’t perform that action at this time.
0 commit comments