mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
all tooltips are automatically converted to bootstrap.
This commit is contained in:
parent
ae44843ea7
commit
1b55859eb2
6 changed files with 14 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
define(['marionette', 'Mixins/AsModelBoundview', 'bootstrap'], function (Marionette, AsModelBoundView) {
|
||||
define(['marionette', 'Mixins/AsModelBoundview'], function (Marionette, AsModelBoundView) {
|
||||
|
||||
var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/Misc/MiscTemplate',
|
||||
|
@ -8,11 +8,8 @@ define(['marionette', 'Mixins/AsModelBoundview', 'bootstrap'], function (Marione
|
|||
|
||||
ui: {
|
||||
tooltip: '[class^="help-inline"] i'
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
this.ui.tooltip.tooltip({ placement: 'right', html: true });
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
return AsModelBoundView.call(view);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue