@vbarbarosh/menu
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"author": "Vladimir Barbarosh", | ||
"name": "@vbarbarosh/menu", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A small js for making menus", | ||
@@ -6,0 +6,0 @@ "license": "ISC", |
@@ -9,7 +9,7 @@ A small js for making menus | ||
<script src="https://unpkg.com/@vbarbarosh/menu@0.0.7/dist/menu.js"></script> | ||
<script src="https://unpkg.com/@vbarbarosh/menu@0.0.8/dist/menu.js"></script> | ||
## Usage in plain JavaScript | ||
<link href="https://unpkg.com/@vbarbarosh/menu@0.0.7/dist/theme-flat.css" rel="stylesheet"> | ||
<link href="https://unpkg.com/@vbarbarosh/menu@0.0.8/dist/theme-flat.css" rel="stylesheet"> | ||
@@ -37,3 +37,3 @@ <ul id="main" class="menu-flat"> | ||
<script src="https://unpkg.com/jquery@3.5.1/dist/jquery.js"></script> | ||
<script src="https://unpkg.com/@vbarbarosh/menu@0.0.7/dist/menu.js"></script> | ||
<script src="https://unpkg.com/@vbarbarosh/menu@0.0.8/dist/menu.js"></script> | ||
<script> | ||
@@ -40,0 +40,0 @@ menu(document.getElementById('main')) |
@@ -19,3 +19,3 @@ function contextmenu(elem, client_x, client_y) | ||
backdrop.style.bottom = '0'; | ||
backdrop.style.zindex = '10000'; | ||
backdrop.style.zIndex = '10000'; | ||
backdrop.addEventListener('click', backdrop_click); | ||
@@ -22,0 +22,0 @@ backdrop.addEventListener('contextmenu', backdrop_contextmenu); |
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