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

pretty-dropdowns

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-dropdowns - npm Package Compare versions

Comparing version 4.13.0 to 4.15.0

12

dist/js/jquery.prettydropdowns.js
/*!
* jQuery Pretty Dropdowns Plugin v4.13.0 by T. H. Doan (https://thdoan.github.io/pretty-dropdowns/)
* jQuery Pretty Dropdowns Plugin v4.15.0 by T. H. Doan (https://thdoan.github.io/pretty-dropdowns/)
*

@@ -61,3 +61,3 @@ * jQuery Pretty Dropdowns by T. H. Doan is licensed under the MIT License.

$select.css('visibility', 'hidden').outerHeight(oOptions.height);
nTimestamp = +new Date();
nTimestamp = performance.now()*100000000000000;
// Test whether to add 'aria-labelledby'

@@ -424,2 +424,4 @@ if (elSel.id) {

$dropdown.children().removeClass('hover nohover');
// Update focus for NVDA screen readers
$dropdown.attr('aria-activedescendant', $dropdown.children('.selected').attr('id'));
}, (o.type==='mouseleave' && !$dropdown.data('clicked')) ? oOptions.hoverIntent : 0);

@@ -432,7 +434,9 @@ },

if (bOn) {
var $dropdown = $li.parent();
$li.removeClass('nohover').addClass('hover');
// Update focus for NVDA screen readers
$dropdown.attr('aria-activedescendant', $li.attr('id'));
if ($li.length===1 && $current && !bNoScroll) {
// Ensure items are always in view
var $dropdown = $li.parent(),
nDropdownHeight = $dropdown.outerHeight(),
var nDropdownHeight = $dropdown.outerHeight(),
nItemOffset = $li.offset().top-$dropdown.offset().top-1; // -1px for top border

@@ -439,0 +443,0 @@ if ($li.index()===0) {

{
"name": "pretty-dropdowns",
"version": "4.13.0",
"version": "4.15.0",
"description": "A simple, lightweight jQuery plugin to create stylized drop-down menus.",

@@ -5,0 +5,0 @@ "keywords": [

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