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

Revision 20062, 355 bytes checked in by plg, 7 years ago (diff)

photos in [slider] are "protected" as well

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.