From c06bfa4519fd712572b61534d956f05e08246e33 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 30 Mar 2021 07:28:20 +0200 Subject: [PATCH] Fix some warning messages and comment in galene.js --- static/galene.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/galene.js b/static/galene.js index 23de2ed..d79a56d 100644 --- a/static/galene.js +++ b/static/galene.js @@ -104,7 +104,7 @@ function storeSettings(settings) { window.sessionStorage.setItem('settings', JSON.stringify(settings)); fallbackSettings = null; } catch(e) { - console.warn("Couldn't store password:", e); + console.warn("Couldn't store settings:", e); fallbackSettings = settings; } } @@ -121,7 +121,7 @@ function getSettings() { let json = window.sessionStorage.getItem('settings'); settings = JSON.parse(json); } catch(e) { - console.warn("Couldn't retrieve password:", e); + console.warn("Couldn't retrieve settings:", e); settings = fallbackSettings; } return settings || {}; @@ -910,7 +910,7 @@ function Filter(stream, definition) { } Filter.prototype.draw = function() { - // check framerate evecry 30 frames + // check framerate every 30 frames if((this.count % 30) === 0) { let frameRate = 0; this.inputStream.getTracks().forEach(t => {