kgsHtml / kgs-html-issues

Issues for KGS HTML Client
0 stars 0 forks source link

Channel names not actually bolded with unseen chats #10

Closed kadoban closed 7 years ago

kadoban commented 9 years ago

There was a silent error in actually setting the font style to bold, here's a patch:

diff --git a/dojoClient/js/Kgs.js b/dojoClient/js/Kgs.js
index ad65d6a..e13e309 100644
--- a/dojoClient/js/Kgs.js
+++ b/dojoClient/js/Kgs.js
@@ -287,7 +287,7 @@ define([
     if (registry.byId("mainTabs").selectedChildWidget != registry.byId("chan-" + id)) {
       // Chat in a hidden pane! Make the title bold.
       domStyle.set(registry.byId("mainTabs_tablist_chan-" + id).domNode,
-                   "font-weight", "bold");
+                   "fontWeight", "bold");
     }
   };
oren740 commented 9 years ago

Looks good to me!

wshubert commented 7 years ago

No more dojoclient! Closing this out.