[gnome-web-www: 8/68] Fixing missing footers
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www: 8/68] Fixing missing footers
- Date: Tue, 24 Jan 2017 15:47:53 +0000 (UTC)
commit cc7cf48afa52e33c7671563a35d6db47abfcd145
Author: saumyad <saumya zero gmail com>
Date: Tue Jan 12 20:59:23 2016 -0500
Fixing missing footers
theme/js/responsive.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/theme/js/responsive.js b/theme/js/responsive.js
index 1ead463..9746376 100644
--- a/theme/js/responsive.js
+++ b/theme/js/responsive.js
@@ -4,14 +4,14 @@ $(function() {
$(".normal-menu .foundation-menu-item").click(function(){
//Toggle foundation menu option name as menu displays or hides.
- if($(".sub-menu").css("display") == "none") {
+ if($(".foundation-menu-item .sub-menu").css("display") == "none") {
$(".foundation-menu-item > a").html("Foundation -");
}
else{
$(".foundation-menu-item > a").html("Foundation +");
$('.foundation-menu-item a').blur();
}
- $(".sub-menu").toggle('slow');
+ $(".foundation-menu-item .sub-menu").toggle('slow');
})
@@ -21,13 +21,13 @@ $(function() {
$(".mobile-menu .foundation-menu-item").click(function(){
- if($(".sub-menu").css("display") == "none") {
+ if($(".foundation-menu-item .sub-menu").css("display") == "none") {
$(".foundation-menu-item > a").html("Foundation -");
}
else{
$(".foundation-menu-item > a").html("Foundation +");
}
- $(".sub-menu").toggle();
+ $(".foundation-menu-item .sub-menu").toggle();
})
$("[id^=apply-pull]").click(function(){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]