Commit b4568a10 authored by Raine Makelainen's avatar Raine Makelainen

[embedlite-components] Clear selection marker if selection fails. Fixes JB#39003

E.g. on facebook.com text cannot be selected. Thus, we should revert
selection state back to where it was before trying to select text.
parent d71de1f2
......@@ -313,7 +313,7 @@ SelectionPrototype.prototype = {
try {
this._updateUIMarkerRects(selection);
} catch (ex) {
Util.dumpLn("_updateUIMarkerRects:", ex.message);
this._onFail();
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment