projects
/
gruntmaster-page.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make JS a bit simpler
[gruntmaster-page.git]
/
js
/
10-modal.js
diff --git
a/js/10-modal.js
b/js/10-modal.js
index 3a8a214a6c1716bda539d27ed58ff7b2313bd0e2..d930f44ef0b6b3f956f0076b8055295c8f73de1e 100644
(file)
--- a/
js/10-modal.js
+++ b/
js/10-modal.js
@@
-13,8
+13,8
@@
function hide_modal () {
}
$(function() {
- modal =
$('.modal')[0]
;
- backdrop =
$('.backdrop')[0]
;
+ modal =
q('.modal')
;
+ backdrop =
q('.backdrop')
;
$(modal).on('transitionend', el => {
if(!document.body.classList.contains('modal-open'))
modal.classList.add('hidden');
This page took
0.00937 seconds
and
4
git commands to generate.