@itcenter-layout/masterpage
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -72,2 +72,12 @@ document.addEventListener('DOMContentLoaded', (event) => { | ||
if (searchButtonOpen) { | ||
searchButtonOpen.addEventListener("keypress", function (e) { | ||
if(e.which == 13) { | ||
e.preventDefault(); | ||
navLangSearch.classList.add("small-screen-search-open"); | ||
inputField.focus(); | ||
} | ||
}); | ||
} | ||
var languageToggle = document.getElementById("langToggle"); | ||
@@ -125,2 +135,10 @@ if (languageToggle) { | ||
var skip = document.getElementById("firstskip"); | ||
if(skip) { | ||
skip.addEventListener("focus", function(e) { | ||
e.preventDefault(); | ||
adaptStatusSidebar(); | ||
}); | ||
} | ||
window.addEventListener('resize', function(e) { | ||
@@ -127,0 +145,0 @@ adaptStatusSidebar(); |
{ | ||
"name": "@itcenter-layout/masterpage", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"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
43633
1104