projects
/
WP-Themes
/
uptravel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d89f3
)
Hide enews by default in small
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 20 Dec 2018 20:02:14 +0000
(15:02 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 20 Dec 2018 20:02:14 +0000
(15:02 -0500)
parts/enews-sticky.php
patch
|
blob
|
history
diff --git
a/parts/enews-sticky.php
b/parts/enews-sticky.php
index
e73bdb0
..
02f6d49
100644
(file)
--- a/
parts/enews-sticky.php
+++ b/
parts/enews-sticky.php
@@
-12,7
+12,9
@@
$(document).on("click", ".enews-handle", function(){
$("#glm-enews-sticky").toggleClass("enews-slideout");
});
- $("#glm-enews-sticky").toggleClass('enews-slideout');
- // $("#glm-enews-sticky").fadeIn("slow");
+ if (window.matchMedia("(min-width: 641px)").matches) {
+ $("#glm-enews-sticky").toggleClass('enews-slideout');
+ // $("#glm-enews-sticky").fadeIn("slow");
+ }
})
</script>
\ No newline at end of file