Changeset 20062


Ignore:
Timestamp:
01/11/13 11:08:01 (7 years ago)
Author:
plg
Message:

photos in [slider] are "protected" as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rightClick/template/rightClick_protect.tpl

    r9982 r20062  
    22<!-- Protected images by the "rightClick" plugin (version {$RIGHTCK.Version}): {$RIGHTCK.Dir}/template/rightClick_protect.tpl --> 
    33jQuery(document).ready(function() {ldelim} 
    4         jQuery('{','|@implode:$RIGHTCK.Selectors}').each( function() {ldelim} 
    5                 jQuery(this)[0].oncontextmenu = function() {ldelim} 
    6                         return false; 
    7                 } 
    8         });      
     4  jQuery(document).on('contextmenu', '{','|@implode:$RIGHTCK.Selectors}',  function() {ldelim} 
     5    return false; 
     6  });    
    97}); 
    108{/footer_script} 
Note: See TracChangeset for help on using the changeset viewer.