fixed selection in firefox

This commit is contained in:
TDaglis
2015-11-03 09:32:43 +00:00
parent 85733fea56
commit 7a88a4b0e9
+1 -1
View File
@@ -585,7 +585,7 @@
on(this.element, 'mouseup', function() {
var selection = document.getSelection();
if (selection.type != 'Range') {
if (selection.isCollapsed) {
self.focus();
}
});