@itcenter-layout/masterpage
Advanced tools
Comparing version 0.5.10 to 1.0.0
/*! | ||
Itcenter masterpage v0.5.10 | ||
Itcenter masterpage v1.0.0 | ||
*/ | ||
var searchLoad = function () { | ||
var cancelSearch = document.getElementById("cancel-search"); | ||
var inputField = document.getElementById("input-field"); | ||
var searchIcon = document.getElementById("search-icon"); | ||
var cancelSearch = document.getElementById("search-button-cancel"); | ||
var inputField = document.getElementById("search-input-field"); | ||
var searchIcon = document.getElementById("search-input-icon"); | ||
var navLangSearch = document.getElementById("nav-langsearch"); | ||
var closeSearch = document.getElementById("close"); | ||
var closeSearch = document.getElementById("search-button-close"); | ||
var searchButtonOpen = document.getElementById("search-button-open"); | ||
@@ -85,3 +85,4 @@ | ||
var languageToggle = document.getElementById("langToggle"); | ||
// Undo comment to handle language toggle | ||
/* var languageToggle = document.getElementById("langToggle"); | ||
if (languageToggle) { | ||
@@ -96,18 +97,3 @@ languageToggle.addEventListener("click", function (e) { | ||
}); | ||
} | ||
var dropdown = document.getElementById("dropdown"); | ||
var dropdownLink = document.getElementById("navbarDropdownMenuLink"); | ||
if(dropdownLink) { | ||
dropdownLink.addEventListener("click", function (e) { | ||
e.preventDefault(); | ||
if(!document.body.classList.contains("nodropdown")) { | ||
if(!dropdown.classList.contains("open")) { | ||
dropdown.classList.add("open"); | ||
} else { | ||
dropdown.classList.remove("open"); | ||
} | ||
} | ||
}); | ||
} | ||
} */ | ||
}; | ||
@@ -114,0 +100,0 @@ |
{ | ||
"name": "@itcenter-layout/masterpage", | ||
"version": "0.5.10", | ||
"version": "1.0.0", | ||
"description": "masterpage", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
45621
1157