Skip to content

Commit

Permalink
Merge branch 't/11142' into major
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Nov 13, 2013
2 parents 9c493a9 + 40dcb7e commit 7d019b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/magicline/plugin.js
Expand Up @@ -472,7 +472,7 @@
trigger = node.getAscendant( that.triggers, true );

// If trigger is an element, neither editable nor editable's ascendant.
if ( trigger && !trigger.contains( that.editable ) && !trigger.equals( that.editable ) ) {
if ( trigger && that.editable.contains( trigger ) ) {
// Check for closest editable limit.
var limit = getClosestEditableLimit( trigger, true );

Expand Down

0 comments on commit 7d019b5

Please sign in to comment.