mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Change jQuery reference for $.
This commit is contained in:
Vendored
+1
-1
@@ -1686,7 +1686,7 @@
|
||||
* than the original.
|
||||
*/
|
||||
fn.register_widget = function($el) {
|
||||
var isDOM = $el instanceof jQuery;
|
||||
var isDOM = $el instanceof $;
|
||||
var wgd = isDOM ? this.dom_to_coords($el) : $el;
|
||||
var posChanged = false;
|
||||
isDOM || ($el = wgd.el);
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -839,7 +839,7 @@
|
||||
* than the original.
|
||||
*/
|
||||
fn.register_widget = function($el) {
|
||||
var isDOM = $el instanceof jQuery;
|
||||
var isDOM = $el instanceof $;
|
||||
var wgd = isDOM ? this.dom_to_coords($el) : $el;
|
||||
var posChanged = false;
|
||||
isDOM || ($el = wgd.el);
|
||||
|
||||
Reference in New Issue
Block a user