From 33dc914f016c753a403293e0ab65565cb24e8a1d Mon Sep 17 00:00:00 2001 From: ticti Date: Thu, 17 Sep 2015 23:19:11 +1000 Subject: [PATCH] Add CSS class to wagtail richtext editor buttons. --- .../wagtailadmin/js/hallo-plugins/hallo-wagtaillink.js | 2 +- .../wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.js | 2 +- .../wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.js | 2 +- .../wagtailimages/js/hallo-plugins/hallo-wagtailimage.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wagtail/wagtailadmin/static_src/wagtailadmin/js/hallo-plugins/hallo-wagtaillink.js b/wagtail/wagtailadmin/static_src/wagtailadmin/js/hallo-plugins/hallo-wagtaillink.js index d2eb812860..8a2cfcfa30 100644 --- a/wagtail/wagtailadmin/static_src/wagtailadmin/js/hallo-plugins/hallo-wagtaillink.js +++ b/wagtail/wagtailadmin/static_src/wagtailadmin/js/hallo-plugins/hallo-wagtaillink.js @@ -17,7 +17,7 @@ return $(node).parents('a').get(0); }; - button = $(''); + button = jQuery(''); button.hallobutton({ uuid: this.options.uuid, editable: this.options.editable, diff --git a/wagtail/wagtaildocs/static_src/wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.js b/wagtail/wagtaildocs/static_src/wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.js index b78e1044f7..3e9e0d046c 100644 --- a/wagtail/wagtaildocs/static_src/wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.js +++ b/wagtail/wagtaildocs/static_src/wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.js @@ -10,7 +10,7 @@ var button, widget; widget = this; - button = $(''); + button = jQuery(''); button.hallobutton({ uuid: this.options.uuid, editable: this.options.editable, diff --git a/wagtail/wagtailembeds/static_src/wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.js b/wagtail/wagtailembeds/static_src/wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.js index d698f387de..d3d07a8349 100644 --- a/wagtail/wagtailembeds/static_src/wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.js +++ b/wagtail/wagtailembeds/static_src/wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.js @@ -10,7 +10,7 @@ var button, widget; widget = this; - button = $(''); + button = jQuery(''); button.hallobutton({ uuid: this.options.uuid, editable: this.options.editable, diff --git a/wagtail/wagtailimages/static_src/wagtailimages/js/hallo-plugins/hallo-wagtailimage.js b/wagtail/wagtailimages/static_src/wagtailimages/js/hallo-plugins/hallo-wagtailimage.js index 9dae8a1e85..2bcd81db04 100644 --- a/wagtail/wagtailimages/static_src/wagtailimages/js/hallo-plugins/hallo-wagtailimage.js +++ b/wagtail/wagtailimages/static_src/wagtailimages/js/hallo-plugins/hallo-wagtailimage.js @@ -10,7 +10,7 @@ var button, widget; widget = this; - button = $(''); + button = jQuery(''); button.hallobutton({ uuid: this.options.uuid, editable: this.options.editable,