Formatting
This commit is contained in:
parent
370405c0ed
commit
bc0c877b87
@ -53,10 +53,8 @@ window._qutebrowser.webelem = (function() {
|
||||
try {
|
||||
caret_position = elem.selectionStart;
|
||||
} catch (err) {
|
||||
if (
|
||||
err instanceof DOMException &&
|
||||
err.name === "InvalidStateError"
|
||||
) {
|
||||
if (err instanceof DOMException &&
|
||||
err.name === "InvalidStateError") {
|
||||
// nothing to do, caret_position is already 0
|
||||
} else {
|
||||
// not the droid we're looking for
|
||||
|
Loading…
Reference in New Issue
Block a user