1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-30 19:45:57 +00:00
Lidarr/UI/Settings/Misc/MiscView.js

20 lines
498 B
JavaScript
Raw Normal View History

2013-03-04 00:09:43 +00:00
'use strict';
2013-06-19 01:02:23 +00:00
define(['marionette', 'Mixins/AsModelBoundview', 'bootstrap'], function (Marionette, AsModelBoundView) {
2013-03-04 00:09:43 +00:00
2013-06-19 01:02:23 +00:00
var view = Marionette.ItemView.extend({
template : 'Settings/Misc/MiscTemplate',
2013-03-18 15:25:36 +00:00
className: 'form-horizontal',
ui: {
tooltip: '[class^="help-inline"] i'
},
2013-03-04 00:09:43 +00:00
onRender: function () {
2013-03-18 15:25:36 +00:00
this.ui.tooltip.tooltip({ placement: 'right', html: true });
2013-03-04 00:09:43 +00:00
}
});
2013-06-19 01:02:23 +00:00
return AsModelBoundView.call(view);
2013-03-04 00:09:43 +00:00
});