pretty-dropdowns
Advanced tools
Comparing version 4.11.0 to 4.12.0
/*! | ||
* jQuery Pretty Dropdowns Plugin v4.11.0 by T. H. Doan (http://thdoan.github.io/pretty-dropdowns/) | ||
* jQuery Pretty Dropdowns Plugin v4.12.0 by T. H. Doan (https://thdoan.github.io/pretty-dropdowns/) | ||
* | ||
* jQuery Pretty Dropdowns by T. H. Doan is licensed under the MIT License. | ||
* Read a copy of the license in the LICENSE file or at | ||
* http://choosealicense.com/licenses/mit | ||
* Read a copy of the license in the LICENSE file or at https://choosealicense.com/licenses/mit/ | ||
*/ | ||
@@ -380,3 +379,3 @@ | ||
sClass += ' label'; | ||
sText = elOpt.getAttribute('label'); | ||
sText = (elOpt.getAttribute('data-prefix') || '') + elOpt.getAttribute('label') + (elOpt.getAttribute('data-suffix') || ''); | ||
break; | ||
@@ -383,0 +382,0 @@ } |
{ | ||
"name": "pretty-dropdowns", | ||
"version": "4.11.0", | ||
"version": "4.12.0", | ||
"description": "A simple, lightweight jQuery plugin to create stylized drop-down menus.", | ||
@@ -13,3 +13,3 @@ "keywords": [ | ||
], | ||
"homepage": "http://thdoan.github.io/pretty-dropdowns/", | ||
"homepage": "https://thdoan.github.io/pretty-dropdowns/", | ||
"bugs": { | ||
@@ -19,3 +19,3 @@ "url": "https://github.com/thdoan/pretty-dropdowns/issues" | ||
"license": "MIT", | ||
"author": "T. H. Doan <thdoan@gmail.com> (http://www.tohodo.com/)", | ||
"author": "T. H. Doan <thdoan@gmail.com> (http://www.tohodo.com)", | ||
"main": "dist/js/jquery.prettydropdowns.js", | ||
@@ -22,0 +22,0 @@ "dependencies": { |
@@ -88,3 +88,3 @@ # jQuery Pretty Dropdowns | ||
The `data-prefix` and `data-suffix` attributes can be added to the `<option>` elements to insert custom HTML before and after each menu item, respectively. You can make use of these attributes to add icons, thumbnails, badges, etc. to the menu items. A good example can be seen [in the demo](https://thdoan.github.io/pretty-dropdowns/demo.html#example3). | ||
The `data-prefix` and `data-suffix` attributes can be added to the `<option>` and `<optgroup>` elements to insert custom HTML before and after each menu item or menu group label, respectively. You can make use of these attributes to add icons, thumbnails, badges, etc. to the menu items. A good example can be seen [in the demo](https://thdoan.github.io/pretty-dropdowns/demo.html#example3). | ||
@@ -91,0 +91,0 @@ ## Keyboard Navigation |
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
34909
640