This commit is contained in:
Hannes Mannerheim 2013-08-25 20:33:07 +02:00
parent 1bb75cfd76
commit 5e8512f12d

View File

@ -413,11 +413,13 @@ function setNewCurrentStream(stream,actionOnSuccess,setLocation) {
if(window.currentStream == stream) { if(window.currentStream == stream) {
// change link color // change link color
if(window.userLinkColor.length == 6) { if(typeof window.userLinkColor != 'undefined') {
changeLinkColor('#' + window.userLinkColor); if(window.userLinkColor.length == 6) {
} changeLinkColor('#' + window.userLinkColor);
else { }
changeLinkColor('#0084B4'); else {
changeLinkColor('#0084B4');
}
} }
// get screen name from stream, if not found, this is me // get screen name from stream, if not found, this is me
@ -452,11 +454,13 @@ function setNewCurrentStream(stream,actionOnSuccess,setLocation) {
if(window.currentStream == stream) { if(window.currentStream == stream) {
// change link color // change link color
if(window.userLinkColor.length == 6) { if(typeof window.userLinkColor != 'undefined') {
changeLinkColor('#' + window.userLinkColor); if(window.userLinkColor.length == 6) {
} changeLinkColor('#' + window.userLinkColor);
else { }
changeLinkColor('#0084B4'); else {
changeLinkColor('#0084B4');
}
} }
// show profile card if this is a user's queet stream // show profile card if this is a user's queet stream