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:
Florian Bruhin 2016-08-09 16:00:20 +02:00
parent 1e5b6caa4b
commit ca67e2be3c

View File

@ -72,9 +72,6 @@ window._qutebrowser.webelem = (function() {
return serialize_elem(elem, id);
};
funcs.get_element = function(id) {
return elements[id];
};
return funcs;