Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
💬 'leave room' tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
dphiffer committed Feb 8, 2018
1 parent 9dd87c4 commit 3f4f246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/smol.sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ smol.sidebar = (function() {
set_room_events: function(room) {
$('#sidebar-room-' + room).click(self.room_click);
$('#sidebar-room-' + room).mouseenter(function() {
$('#sidebar-room-' + room).append('<span class="leave fa fa-close"></span>');
$('#sidebar-room-' + room).append('<span class="leave fa fa-close" title="Leave room"></span>');
});
$('#sidebar-room-' + room).mouseleave(function() {
$('#sidebar-room-' + room + ' .leave').remove();
Expand Down

0 comments on commit 3f4f246

Please sign in to comment.