Commit db05c860 authored by Francois Cartegnie's avatar Francois Cartegnie

web intf: lint validation fix

parent 7d3dbfac
var intv = 0; var intv = 0;
var ccmd = ""; var ccmd = "";
var video_types = new Array('avi','mp4','wmv','mov','swf','vob','mkv','mpg'); var video_types = ['avi','mp4','wmv','mov','swf','vob','mkv','mpg'];
var audio_types = new Array('mp3','wav'); var audio_types = ['mp3','wav'];
var stream_server = window.location.hostname; var stream_server = window.location.hostname;
function format_time( s ){ function format_time( s ){
var hours = Math.floor(s/3600); var hours = Math.floor(s/3600);
...@@ -17,7 +17,7 @@ function setIntv(){ ...@@ -17,7 +17,7 @@ function setIntv(){
intv++; intv++;
setTimeout(setIntv,500); setTimeout(setIntv,500);
}else{ }else{
intv=0 intv=0;
} }
if(intv>5){ if(intv>5){
var nt = 0; var nt = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment