Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Enable image popup on < 500px wide screens
Browse files Browse the repository at this point in the history
  • Loading branch information
makaroniame committed Jul 7, 2016
1 parent f721693 commit 47bc286
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading

0 comments on commit 47bc286

Please sign in to comment.