mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
Fixed bootstrap.
This commit is contained in:
parent
d70387966b
commit
3b76d80c14
10 changed files with 40 additions and 28 deletions
11
src/static/js/vendors/nice-select.js
vendored
11
src/static/js/vendors/nice-select.js
vendored
|
@ -1,3 +1,7 @@
|
|||
import jquery from 'jquery';
|
||||
window.jQuery = jquery;
|
||||
window.$ = jquery;
|
||||
|
||||
// WARNING: This file has been modified from the Original
|
||||
// TODO: Nice Select seems relatively abandoned, we should consider other options.
|
||||
|
||||
|
@ -5,9 +9,8 @@
|
|||
https://github.com/hernansartorio/jquery-nice-select
|
||||
Made by Hernán Sartorio */
|
||||
|
||||
(function($) {
|
||||
|
||||
$.fn.niceSelect = function(method) {
|
||||
(function() {
|
||||
window.$.fn.niceSelect = function(method) {
|
||||
|
||||
// Methods
|
||||
if (typeof method == 'string') {
|
||||
|
@ -209,4 +212,4 @@
|
|||
|
||||
};
|
||||
|
||||
}(jQuery));
|
||||
}(window.jQuery));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue