diff options
author | Alib <aliboba@free.fr> | 2010-03-31 23:40:10 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-31 23:40:10 +0200 |
commit | a6cfc75a2a66f76fffc1d113032fbe7f819f94e6 (patch) | |
tree | 173cc062542053d0752139a4e7cae05cd9227d74 | |
parent | 8774bb7891b68a20797884c72591d3d955cf543b (diff) | |
download | istreamdev-a6cfc75a2a66f76fffc1d113032fbe7f819f94e6.tar.gz istreamdev-a6cfc75a2a66f76fffc1d113032fbe7f819f94e6.tar.bz2 |
fix bug in create media menu
-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
|