summaryrefslogtreecommitdiff
path: root/javascript/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/functions.js')
-rwxr-xr-xjavascript/functions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/functions.js b/javascript/functions.js
index c54f44e..b713232 100755
--- a/javascript/functions.js
+++ b/javascript/functions.js
@@ -46,8 +46,8 @@ function sendForm(formid) {
frm.submit();
}
-function swapPic() {
- document.getElementById('videofeed').src = "ram/stream.m3u8";
+function swapPic(session) {
+ document.getElementById('videofeed').src = "ram/" +session +"/stream.m3u8";
}
function openSelectDate(timer_year,timer_month,timer_day) {