Enable image popup on < 500px wide screens

- Close #385
This commit is contained in:
Michael Rose 2016-07-07 09:50:09 -04:00
parent cda165d5ea
commit 54a8646901
2 changed files with 7 additions and 7 deletions

View file

@ -44,12 +44,12 @@ $(document).ready(function(){
// Magnific-Popup options // Magnific-Popup options
$(".image-popup").magnificPopup({ $(".image-popup").magnificPopup({
disableOn: function() { // disableOn: function() {
if( $(window).width() < 500 ) { // if( $(window).width() < 500 ) {
return false; // return false;
} // }
return true; // return true;
}, // },
type: 'image', type: 'image',
tLoading: 'Loading image #%curr%...', tLoading: 'Loading image #%curr%...',
gallery: { gallery: {

File diff suppressed because one or more lines are too long