QtWebEngine js: Get rid of webelem.get_element()
Let's do separate JS functions instead so we can easily access them via utils.javascript.assemble.
This commit is contained in:
parent
1e5b6caa4b
commit
ca67e2be3c
@ -72,9 +72,6 @@ window._qutebrowser.webelem = (function() {
|
|||||||
return serialize_elem(elem, id);
|
return serialize_elem(elem, id);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
funcs.get_element = function(id) {
|
|
||||||
return elements[id];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return funcs;
|
return funcs;
|
||||||
|
Loading…
Reference in New Issue
Block a user