From 487033d5d66725f33769bd505eb73af5911e35fb Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 17 May 2011 16:32:57 -0400 Subject: [PATCH] Removed spurious 'Loading...' label from expanded roomlist --- webcit/static/wclib.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index 22ae75d6c..8b9f83bf1 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -176,6 +176,7 @@ function setupIconBar() { /* WARNING: VILE, SLEAZY HACK. We determine the state of the box based on the image loaded. */ if ( $('expand_roomlist').src.substring($('expand_roomlist').src.length - 12) == "collapse.gif" ) { $('roomlist').style.display = 'block'; + $('roomlist').innerHTML = ''; FillRooms(IconBarRoomList); } else { @@ -886,6 +887,7 @@ function toggle_roomlist() else { $('roomlist').style.display = 'block'; $('expand_roomlist').src = 'static/collapse.gif'; + $('roomlist').innerHTML = ''; FillRooms(IconBarRoomList); wstate=1; } -- 2.30.2