Add visual cue as to whether the workspace is focused

This commit is contained in:
Nick O'Leary
2017-01-24 16:14:03 +00:00
parent b10141d71f
commit 128c4fe222
4 changed files with 21 additions and 0 deletions

View File

@@ -73,6 +73,9 @@ RED.tabs = (function() {
ul.children().addClass("red-ui-tab");
function onTabClick() {
if (options.onclick) {
options.onclick(tabs[$(this).attr('href').slice(1)]);
}
activateTab($(this));
return false;
}