Skip to content

Commit

Permalink
⚡ Improved UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiab77 committed Sep 15, 2020
1 parent 57d1128 commit d403ebe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $(function () {
// .sidebar('setting', { transition: 'scale down', mobileTransition: 'scale down' })
.sidebar('setting', { transition: 'overlay', mobileTransition: 'overlay' })
.sidebar('attach events', '.toc.item');

// Dropdowns
$('.ui.dropdown').dropdown({
on: 'hover'
Expand All @@ -47,8 +47,11 @@ $(function () {
$(this).closest('.message').transition('fade');
});

// Modals
$('.ui.modal').modal();

// Tooltips
$('.tooltipped').popup();;
$('.tooltipped').popup();

// Scrolling tables
// TODO: Add throttling...
Expand Down Expand Up @@ -76,4 +79,4 @@ $(function () {
}
}
});
});
});

0 comments on commit d403ebe

Please sign in to comment.