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 1.2.0 to 1.2.1

26

dist/js/itcenter-masterdesign-masterpage.js
/*!
Itcenter masterpage v1.2.0
Itcenter masterpage v1.2.1
*/

@@ -106,6 +106,8 @@ var searchLoad = function () {

var navWidth = document.documentElement.clientWidth;
if(navWidth <= 767) {
document.body.classList.remove("show-menu");
} else {
document.body.classList.add("show-menu");
if (document.body) {
if (navWidth <= 767) {
document.body.classList.remove("show-menu");
} else {
document.body.classList.add("show-menu");
}
}

@@ -117,7 +119,7 @@

adaptStatusSidebar();
if (el) {
el.addEventListener("click", function (e) {
e.preventDefault();
if(!body.classList.contains("show-menu")) {
if (!body.classList.contains("show-menu")) {
body.classList.add("show-menu");

@@ -134,3 +136,3 @@ } else {

e.preventDefault();
if(body.classList.contains("show-menu")) {
if (body.classList.contains("show-menu")) {
body.classList.remove("show-menu");

@@ -142,4 +144,4 @@ }

var skip = document.getElementById("firstskip");
if(skip) {
skip.addEventListener("focus", function(e) {
if (skip) {
skip.addEventListener("focus", function (e) {
e.preventDefault();

@@ -150,3 +152,3 @@ adaptStatusSidebar();

window.addEventListener('resize', function(e) {
window.addEventListener('resize', function (e) {
adaptStatusSidebar();

@@ -158,3 +160,3 @@ });

var menu = document.getElementsByTagName("menu")[0];
if(navWidth <= 767) {
if (navWidth <= 767) {
body.classList.remove("show-menu");

@@ -161,0 +163,0 @@ menu.classList.add("transition");

{
"name": "@itcenter-layout/masterpage",
"version": "1.2.0",
"version": "1.2.1",
"description": "masterpage",

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

Sorry, the diff of this file is not supported yet

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