Commit fd6594be authored by alexpott's avatar alexpott
Browse files

Issue #1955288 by lilster66 | nod_: JSHint editor.

parent 75f3ef06
...@@ -69,7 +69,7 @@ Drupal.behaviors.editor = { ...@@ -69,7 +69,7 @@ Drupal.behaviors.editor = {
var editors; var editors;
// The 'serialize' trigger indicates that we should simply update the // The 'serialize' trigger indicates that we should simply update the
// underlying element with the new text, without destroying the editor. // underlying element with the new text, without destroying the editor.
if (trigger == 'serialize') { if (trigger === 'serialize') {
// Removing the editor-processed class guarantees that the editor will // Removing the editor-processed class guarantees that the editor will
// be reattached. Only do this if we're planning to destroy the editor. // be reattached. Only do this if we're planning to destroy the editor.
editors = $(context).find('.editor-processed'); editors = $(context).find('.editor-processed');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment