Skip to content

Commit

Permalink
Remove unused variable and event propagation from embeds (slab#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitis authored and jhchen committed Aug 27, 2017
1 parent 9bc217f commit 153ce37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion blots/scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Emitter from '../core/emitter';
import Block, { BlockEmbed } from './block';
import Break from './break';
import Container from './container';
import CodeBlock from '../formats/code';


function isLine(blot) {
Expand Down
1 change: 0 additions & 1 deletion core/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class Selection {
blot.domNode.classList.add('ql-embed-selected');
const range = new Range(blot.offset(scroll), blot.length());
this.setRange(range, Emitter.sources.USER);
e.stopPropagation();
}
});
let mouseCount = 0;
Expand Down

0 comments on commit 153ce37

Please sign in to comment.