mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Use '$' rather than 'jQuery'
The (function($) {...})(jQuery) wrapper ensures that $ is always available.
This commit is contained in:
parent
caf0bb4366
commit
d18eccc5e8
@ -17,7 +17,7 @@
|
||||
return $(node).parents('a').get(0);
|
||||
};
|
||||
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
@ -10,7 +10,7 @@
|
||||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
@ -10,7 +10,7 @@
|
||||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
@ -10,7 +10,7 @@
|
||||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
Loading…
Reference in New Issue
Block a user