filesite
3 years ago
7 changed files with 40 additions and 5 deletions
@ -1 +1,14 @@
@@ -1 +1,14 @@
|
||||
/* for theme GoogleImage */ |
||||
(function() { |
||||
//show modal
|
||||
$('.btn-open').click(function(evt) { |
||||
var target_id = $(evt.target).parents('.btn-open').attr('href'); |
||||
$(target_id).css('display', 'block'); |
||||
}); |
||||
|
||||
//hide modal
|
||||
$('.btn-close').click(function(evt) { |
||||
$(evt.target).parents('.modal-mask').css('display', 'none'); |
||||
}); |
||||
|
||||
})(); |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue