source: extensions/rightClick/template/rightClick_protect.tpl @ 20062

Last change on this file since 20062 was 20062, checked in by plg, 8 years ago

photos in [slider] are "protected" as well

File size: 355 bytes
Line 
1{footer_script require="jquery"}
2<!-- Protected images by the "rightClick" plugin (version {$RIGHTCK.Version}): {$RIGHTCK.Dir}/template/rightClick_protect.tpl -->
3jQuery(document).ready(function() {ldelim}
4  jQuery(document).on('contextmenu', '{','|@implode:$RIGHTCK.Selectors}',  function() {ldelim}
5    return false;
6  });   
7});
8{/footer_script}
Note: See TracBrowser for help on using the repository browser.