Fix lint errors

This commit is contained in:
Jay Kamat 2019-02-14 17:51:04 -08:00
parent 64fb73df3e
commit 266a4c16fd
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5

View File

@ -58,7 +58,8 @@ window._qutebrowser.stylesheet = (function() {
function create_style() {
let ns = xhtml_ns;
if (document.documentElement && document.documentElement.namespaceURI === svg_ns) {
if (document.documentElement &&
document.documentElement.namespaceURI === svg_ns) {
ns = svg_ns;
}
style_elem = document.createElementNS(ns, "style");