Changeset 20062
- Timestamp:
- Jan 11, 2013, 11:08:01 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rightClick/template/rightClick_protect.tpl
r9982 r20062 2 2 <!-- Protected images by the "rightClick" plugin (version {$RIGHTCK.Version}): {$RIGHTCK.Dir}/template/rightClick_protect.tpl --> 3 3 jQuery(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 }); 9 7 }); 10 8 {/footer_script}
Note: See TracChangeset
for help on using the changeset viewer.