Merge pull request #174 from siikamiika/fix-firefox-scanning-start-of-line
fix scanning start of line on Firefox
This commit is contained in:
commit
4fd7eeff3e
@ -102,6 +102,10 @@ function docRangeFromPoint(point) {
|
|||||||
return new TextSourceRange(range);
|
return new TextSourceRange(range);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (navigator.userAgent.match(/Firefox/)) {
|
||||||
|
return new TextSourceRange(range);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function docSentenceExtract(source, extent) {
|
function docSentenceExtract(source, extent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user