From 063360d6458ea7927b1188c4b64992a06d780217 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Wed, 3 Apr 2019 14:21:57 +0200 Subject: [PATCH] fixed uvc throwing error #1280 --- front/core/directives/uvc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/core/directives/uvc.js b/front/core/directives/uvc.js index c881cf545..664dfae53 100644 --- a/front/core/directives/uvc.js +++ b/front/core/directives/uvc.js @@ -50,7 +50,7 @@ export function directive($http, $compile, vnApp, $translate) { }); - if ($scope.css || document.querySelector('style[id="uvc"]')) { + if (document.querySelector('style[id="uvc"]')) { let child = document.querySelector('style[id="uvc"]'); child.parentNode.removeChild(child); }