Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@itcenter-layout/masterpage

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itcenter-layout/masterpage - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

18

dist/js/itcenter-masterdesign-masterpage.js

@@ -38,4 +38,3 @@ document.addEventListener('DOMContentLoaded', (event) => {

e.preventDefault();
if(document.documentElement.clientWidth > 991 && inputField.value.length > 0) {
navLangSearch.classList.remove("small-screen-search-open");
if(inputField.value.length > 0) {
cancelSearch.style.display = "block";

@@ -87,4 +86,5 @@ }

var dropdown = document.getElementById("dropdown");
if(dropdown) {
dropdown.addEventListener("click", function (e) {
var dropdownLink = document.getElementById("navbarDropdownMenuLink");
if(dropdownLink) {
dropdownLink.addEventListener("click", function (e) {
e.preventDefault();

@@ -116,2 +116,12 @@ if(!dropdown.classList.contains("open")) {

var grayLayer = document.getElementById("gray-layer");
if (grayLayer) {
grayLayer.addEventListener("click", function (e) {
e.preventDefault();
if(body.classList.contains("show-drawer")) {
body.classList.remove("show-drawer");
}
});
}
window.addEventListener('resize', function(e) {

@@ -118,0 +128,0 @@ adaptStatusSidebar();

{
"name": "@itcenter-layout/masterpage",
"version": "0.4.2",
"version": "0.4.3",
"description": "masterpage",

@@ -5,0 +5,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc