Skip to content

Commit

Permalink
Merge branch 't/10212'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Mar 19, 2013
2 parents a7b117f + c7b4a6c commit 2c54f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/magicline/plugin.js
Expand Up @@ -277,7 +277,7 @@

// Revert magicline hot node on undo/redo.
editor.on( 'loadSnapshot', function( event ) {
var elements = doc.getElementsByTag( that.enterBehavior ),
var elements = editor.document.getElementsByTag( that.enterBehavior ),
element;

for ( var i = elements.count(); i--; ) {
Expand Down

0 comments on commit 2c54f8d

Please sign in to comment.