s
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
11 changed files
with
4 additions
and
39 deletions
| ... | @@ -16269,7 +16269,7 @@ a.skip-link:focus { | ... | @@ -16269,7 +16269,7 @@ a.skip-link:focus { |
| 16269 | border-radius: 20px; | 16269 | border-radius: 20px; |
| 16270 | width: auto; | 16270 | width: auto; |
| 16271 | text-align: left; | 16271 | text-align: left; |
| 16272 | z-index: 999; | 16272 | z-index: 99; |
| 16273 | padding: 10px 20px; | 16273 | padding: 10px 20px; |
| 16274 | background-color: #fff; | 16274 | background-color: #fff; |
| 16275 | } | 16275 | } | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -7496,22 +7496,6 @@ | ... | @@ -7496,22 +7496,6 @@ |
| 7496 | // Search Filter | 7496 | // Search Filter |
| 7497 | var Search = function ($) { | 7497 | var Search = function ($) { |
| 7498 | function init() { | 7498 | function init() { |
| 7499 | $(".side-menu li:has(.children) > a").addClass("has-children closed"); | ||
| 7500 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); | ||
| 7501 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.closed", function (e) { | ||
| 7502 | e.preventDefault(); | ||
| 7503 | $(this).removeClass("closed"); | ||
| 7504 | $(this).addClass("opened"); | ||
| 7505 | $(this).next(".children").slideDown(); | ||
| 7506 | return false; | ||
| 7507 | }); | ||
| 7508 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.opened", function (e) { | ||
| 7509 | e.preventDefault(); | ||
| 7510 | $(this).removeClass("opened"); | ||
| 7511 | $(this).addClass("closed"); | ||
| 7512 | $(this).next(".children").slideUp(); | ||
| 7513 | return false; | ||
| 7514 | }); | ||
| 7515 | $(".searchandfilter ul li:contains('hidden')").hide(); | 7499 | $(".searchandfilter ul li:contains('hidden')").hide(); |
| 7516 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child ')); | 7500 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child ')); |
| 7517 | $(document).on("click", ".search-filter-reset-custom", function (e) { | 7501 | $(document).on("click", ".search-filter-reset-custom", function (e) { |
| ... | @@ -7731,7 +7715,7 @@ | ... | @@ -7731,7 +7715,7 @@ |
| 7731 | function init() { | 7715 | function init() { |
| 7732 | $(".side-menu li:has(.children) > a").addClass("has-children closed"); | 7716 | $(".side-menu li:has(.children) > a").addClass("has-children closed"); |
| 7733 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); | 7717 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); |
| 7734 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.closed", function (e) { | 7718 | $(document).on("click", ".side-menu li:has(.children):not(:first-of-type) > a.has-children.closed", function (e) { |
| 7735 | e.preventDefault(); | 7719 | e.preventDefault(); |
| 7736 | $(this).removeClass("closed"); | 7720 | $(this).removeClass("closed"); |
| 7737 | $(this).addClass("opened"); | 7721 | $(this).addClass("opened"); | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -7,25 +7,6 @@ var Search = (function($) { | ... | @@ -7,25 +7,6 @@ var Search = (function($) { |
| 7 | 7 | ||
| 8 | function init() { | 8 | function init() { |
| 9 | 9 | ||
| 10 | $(".side-menu li:has(.children) > a").addClass("has-children closed"); | ||
| 11 | |||
| 12 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); | ||
| 13 | |||
| 14 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.closed", function(e){ | ||
| 15 | e.preventDefault(); | ||
| 16 | $(this).removeClass("closed"); | ||
| 17 | $(this).addClass("opened"); | ||
| 18 | $(this).next(".children").slideDown(); | ||
| 19 | return false; | ||
| 20 | }); | ||
| 21 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.opened", function(e){ | ||
| 22 | e.preventDefault(); | ||
| 23 | $(this).removeClass("opened"); | ||
| 24 | $(this).addClass("closed"); | ||
| 25 | $(this).next(".children").slideUp(); | ||
| 26 | return false; | ||
| 27 | }); | ||
| 28 | |||
| 29 | $(".searchandfilter ul li:contains('hidden')").hide(); | 10 | $(".searchandfilter ul li:contains('hidden')").hide(); |
| 30 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) ); | 11 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) ); |
| 31 | 12 | ... | ... |
| ... | @@ -11,7 +11,7 @@ var sideMenu = (function($) { | ... | @@ -11,7 +11,7 @@ var sideMenu = (function($) { |
| 11 | 11 | ||
| 12 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); | 12 | $(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"); |
| 13 | 13 | ||
| 14 | $(document).on("click", ".side-menu li:has(.children) > a.has-children.closed", function(e){ | 14 | $(document).on("click", ".side-menu li:has(.children):not(:first-of-type) > a.has-children.closed", function(e){ |
| 15 | e.preventDefault(); | 15 | e.preventDefault(); |
| 16 | $(this).removeClass("closed"); | 16 | $(this).removeClass("closed"); |
| 17 | $(this).addClass("opened"); | 17 | $(this).addClass("opened"); | ... | ... |
| ... | @@ -206,7 +206,7 @@ blockquote{ | ... | @@ -206,7 +206,7 @@ blockquote{ |
| 206 | border-radius: 20px; | 206 | border-radius: 20px; |
| 207 | width: auto; | 207 | width: auto; |
| 208 | text-align: left; | 208 | text-align: left; |
| 209 | z-index: 999; | 209 | z-index: 99; |
| 210 | padding: 10px 20px; | 210 | padding: 10px 20px; |
| 211 | background-color: #fff; | 211 | background-color: #fff; |
| 212 | @media only screen and (max-width: 782px) { | 212 | @media only screen and (max-width: 782px) { | ... | ... |
-
Please register or sign in to post a comment