Sets mediabox clickBlock to false

This commit is contained in:
Jan 2015-06-10 23:51:50 +02:00
parent 2309e9641b
commit dca1d3d716
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ var Mediabox;
showCaption: true, // Display the title and caption, true / false
showCounter: true, // If true, a counter will only be shown if there is more than 1 image to display
countBack: false, // Inverts the displayed number (so instead of the first element being labeled 1/10, it's 10/10)
clickBlock: true, // Adds an event on right-click to block saving of images from the context menu in most browsers (this can't prevent other ways of downloading, but works as a casual deterent)
clickBlock: false, // Adds an event on right-click to block saving of images from the context menu in most browsers (this can't prevent other ways of downloading, but works as a casual deterent)
// due to less than ideal code ordering, clickBlock on links must be removed manually around line 250
// iOS device options
// iOSenable: false, // When set to false, disables overlay entirely (links open in new tab)
@ -973,4 +973,4 @@ Mediabox.scanPage = function() {
});
};
window.addEvents({domready: Mediabox.scanPage, resize: Mediabox.recenter}); // to recenter the overlay while scrolling, add "scroll: Mediabox.recenter" to the object
window.addEvents({domready: Mediabox.scanPage, resize: Mediabox.recenter}); // to recenter the overlay while scrolling, add "scroll: Mediabox.recenter" to the object