summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-09-22 16:36:40 (GMT)
committerAlex Pott2016-09-22 16:36:40 (GMT)
commit558dc9e71eb02113e7914c02170d1eef60004181 (patch)
tree440525dd16e46423cb667feb18d739fcf776ef21
parentfdd3f572ab4027c1e571467efdcb7f2df5cbef15 (diff)
Issue #2800081 by GoZ, thpoul, Wim Leers: Useless assignment for $row in KeyboardView
-rw-r--r--core/modules/ckeditor/js/views/KeyboardView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/ckeditor/js/views/KeyboardView.js b/core/modules/ckeditor/js/views/KeyboardView.js
index 9f2ab5b..f44764e 100644
--- a/core/modules/ckeditor/js/views/KeyboardView.js
+++ b/core/modules/ckeditor/js/views/KeyboardView.js
@@ -61,7 +61,7 @@
var $button = $target.parent();
var $container = $button.parent();
var $group = $button.closest('.ckeditor-toolbar-group');
- var $row = $button.closest('.ckeditor-row');
+ var $row;
var containerType = $container.data('drupal-ckeditor-button-sorting');
var $availableButtons = this.$el.find('[data-drupal-ckeditor-button-sorting="source"]');
var $activeButtons = this.$el.find('.ckeditor-toolbar-active');