projects
/
plack-app-gruntmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use document.documentElement.clientWidth instead of window.innerWidth
[plack-app-gruntmaster.git]
/
js
/
10-modal.js
diff --git
a/js/10-modal.js
b/js/10-modal.js
index 62cbb271c56b32f0f779d0ca4529814aeadeb9b8..eea85d7ac43e7a080aff36bd9164ea840071752b 100644
(file)
--- a/
js/10-modal.js
+++ b/
js/10-modal.js
@@
-13,6
+13,8
@@
function hide_modal () {
}
$(function() {
+ if(document.documentElement.clientWidth)
+ return;
modal = $('.modal')[0];
backdrop = $('.backdrop')[0];
$(modal).on('transitionend', el => {
This page took
0.009043 seconds
and
4
git commands to generate.