mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Tooltips shouldn't stay visible after clicking
This commit is contained in:
parent
6ee876392c
commit
34ca5d4014
2 changed files with 35 additions and 8 deletions
|
@ -68,13 +68,7 @@ require.config({
|
|||
deps:
|
||||
[
|
||||
'jquery'
|
||||
],
|
||||
init: function ($) {
|
||||
$('body').tooltip({
|
||||
selector: '[title]',
|
||||
container: 'body'
|
||||
});
|
||||
}
|
||||
]
|
||||
},
|
||||
backstrech : {
|
||||
deps:
|
||||
|
@ -249,9 +243,10 @@ define(
|
|||
'Shared/Modal/ModalController',
|
||||
'Shared/ControlPanel/ControlPanelController',
|
||||
'System/StatusModel',
|
||||
'Shared/Tooltip',
|
||||
'Instrumentation/StringFormat',
|
||||
'LifeCycle'
|
||||
], function ($, Backbone, Marionette, RouteBinder, SignalRBroadcaster, NavbarView, AppLayout, SeriesController, Router, ModalController, ControlPanelController, serverStatusModel) {
|
||||
], function ($, Backbone, Marionette, RouteBinder, SignalRBroadcaster, NavbarView, AppLayout, SeriesController, Router, ModalController, ControlPanelController, serverStatusModel, Tooltip) {
|
||||
|
||||
new SeriesController();
|
||||
new ModalController();
|
||||
|
@ -268,6 +263,10 @@ define(
|
|||
app: app
|
||||
});
|
||||
|
||||
app.addInitializer(Tooltip.appInitializer, {
|
||||
app: app
|
||||
});
|
||||
|
||||
app.addInitializer(function () {
|
||||
Backbone.history.start({ pushState: true, root: serverStatusModel.get('urlBase') });
|
||||
RouteBinder.bind();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue