mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-31 20:21:49 +02:00
begin lang implementation
This commit is contained in:
@@ -29,8 +29,8 @@ $(document).ready(function(){
|
||||
$(".sticky").Stickyfill();
|
||||
|
||||
var stickySideBar = function(){
|
||||
var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible");
|
||||
// console.log("has button: " + $(".author__urls-wrapper button").length === 0);
|
||||
var show = $(".author__urls-wrapper #toggle-nav").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper #toggle-nav").is(":visible");
|
||||
// console.log("has button: " + $(".author__urls-wrapper #toggle-nav").length === 0);
|
||||
// console.log("Window Width: " + windowWidth);
|
||||
// console.log("show: " + show);
|
||||
//old code was if($(window).width() > 1024)
|
||||
@@ -54,9 +54,9 @@ $(document).ready(function(){
|
||||
|
||||
// Follow menu drop down
|
||||
|
||||
$(".author__urls-wrapper button").on("click", function() {
|
||||
$(".author__urls-wrapper #toggle-nav").on("click", function() {
|
||||
$(".author__urls").fadeToggle("fast", function() {});
|
||||
$(".author__urls-wrapper button").toggleClass("open");
|
||||
$(".author__urls-wrapper #toggle-nav").toggleClass("open");
|
||||
});
|
||||
|
||||
// init smooth scroll
|
||||
|
Reference in New Issue
Block a user