Skip to content

Commit 1afdaad

Browse files
committed
Namespace 'tab' class
1 parent d02469a commit 1afdaad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/js/firechat-ui.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@
754754
$active.removeClass('in');
755755
};
756756

757-
$(document).delegate('[data-toggle="tab"]', 'click', function(event) {
757+
$(document).delegate('[data-toggle="firechat-tab"]', 'click', function(event) {
758758
event.preventDefault();
759759
show($(this));
760760
});
@@ -964,7 +964,7 @@
964964
this.$tabList.children('li').css('width', tabWidth);
965965

966966
// Automatically select the next tab if there is one.
967-
this.$tabList.find('[data-toggle=tab]').first().trigger('click');
967+
this.$tabList.find('[data-toggle="firechat-tab"]').first().trigger('click');
968968

969969
// Update the room listing to reflect that we're now in the room.
970970
this.$roomList.children('[data-room-id=' + roomId + ']').children('a').removeClass('highlight');

templates/tab-menu-item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<li data-room-id='<%- id %>'>
2-
<a href='#<%- id %>' data-toggle='tab' title='<%- name %>'><%- name %></a>
2+
<a href='#<%- id %>' data-toggle='firechat-tab' title='<%- name %>'><%- name %></a>
33
</li>

0 commit comments

Comments
 (0)