From 251fa0f6d139ea1c903bf79a25db7fa21be1a344 Mon Sep 17 00:00:00 2001 From: malnvenshorn Date: Tue, 5 Sep 2017 17:07:02 +0200 Subject: [PATCH 1/2] 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; } From 030b270a3326ae021d499eb9300c49f3fbdae5af Mon Sep 17 00:00:00 2001 From: malnvenshorn Date: Tue, 5 Sep 2017 17:08:49 +0200 Subject: [PATCH 2/2] Increased version to 0.1.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 33afba3..04194be 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import setup plugin_identifier = "webcamtab" plugin_package = "octoprint_webcamtab" plugin_name = "OctoPrint-WebcamTab" -plugin_version = "0.1.0" +plugin_version = "0.1.1" plugin_description = """Show webcam stream in separate tab""" plugin_author = "Sven Lohrmann" plugin_author_email = "malnvenshorn@gmail.com"