1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Settings/Misc/MiscView.js
2013-06-18 18:02:23 -07:00

20 lines
498 B
JavaScript

'use strict';
define(['marionette', 'Mixins/AsModelBoundview', 'bootstrap'], function (Marionette, AsModelBoundView) {
var view = Marionette.ItemView.extend({
template : 'Settings/Misc/MiscTemplate',
className: 'form-horizontal',
ui: {
tooltip: '[class^="help-inline"] i'
},
onRender: function () {
this.ui.tooltip.tooltip({ placement: 'right', html: true });
}
});
return AsModelBoundView.call(view);
});