diff options
-rwxr-xr-x | HISTORY | 1 | ||||
-rw-r--r-- | js/istreamdev.js | 10 |
2 files changed, 5 insertions, 6 deletions
@@ -4,6 +4,7 @@ xx.xx.2010 - 1.0.1 - Added fix for PHP version < 5.2.0 - added php module check and dynamic loading if possible. +- some client speedups and optimisations 03.29.2010 - 1.0.0 diff --git a/js/istreamdev.js b/js/istreamdev.js index f59753e..28ef4d1 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -96,20 +96,18 @@ function addVdr() { }
function addVideofiles() {
videomenu = '<li class="arrow"><a id="video_but" href="#"><img class="menuicon" src="img/video.png" /><span class="menuname">Video</span></a></li>';
- home_filemenu = $('#home #filemenu');
- if ( home_filemenu.length == 0 ) {
+ if ( $('#home #filemenu').length == 0 ) {
$('#home').append('<ul class="rounded" id="filemenu"><li><span class="menutitle">FILES</span></li></ul>');
}
- home_filemenu.append(videomenu);
+ $('#home #filemenu').append(videomenu);
}
function addAudiofiles() {
audiomenu = '<li class="arrow"><a id="audio_but" href="#"><img class="menuicon" src="img/audio.png" /><span class="menuname">Audio</span></a></li>';
- home_filemenu = $('#home #filemenu');
- if ( home_filemenu.length == 0 ) {
+ if ( $('#home #filemenu').length == 0 ) {
$('#home').append('<ul class="rounded" id="filemenu"><li><span class="menutitle">FILES</span></li></ul>');
}
- home_filemenu.append(audiomenu);
+ $('#home #filemenu').append(audiomenu);
}
//Goto home
|