From 251fa0f6d139ea1c903bf79a25db7fa21be1a344 Mon Sep 17 00:00:00 2001 From: malnvenshorn Date: Tue, 5 Sep 2017 17:07:02 +0200 Subject: [PATCH] Update for OctoPrint 1.3.5 --- octoprint_webcamtab/static/js/webcamtab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_webcamtab/static/js/webcamtab.js b/octoprint_webcamtab/static/js/webcamtab.js index 80e7e4e..0c060a7 100644 --- a/octoprint_webcamtab/static/js/webcamtab.js +++ b/octoprint_webcamtab/static/js/webcamtab.js @@ -32,7 +32,7 @@ $(function() { var currentSrc = webcamImage.attr("src"); // safari bug doesn't release the mjpeg stream, so we just set it up the once - if (self.control._isSafari() && currentSrc != undefined) { + if (OctoPrint.coreui.browser.safari && currentSrc != undefined) { return; }