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
$(".image-popup").magnificPopup({
disableOn: function() {
if( $(window).width() < 500 ) {
return false;
}
return true;
},
// disableOn: function() {
// if( $(window).width() < 500 ) {
// return false;
// }
// return true;
// },
type: 'image',
tLoading: 'Loading image #%curr%...',
gallery: {

File diff suppressed because one or more lines are too long