mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 18:30:45 +00:00
6b8314206a
Using bootstrap slider
17 lines
No EOL
430 B
JavaScript
17 lines
No EOL
430 B
JavaScript
define(['app'], function () {
|
|
NzbDrone.Quality.QualitySizeModel = Backbone.Model.extend({
|
|
|
|
initialize: function () {
|
|
this.validators = {};
|
|
},
|
|
|
|
mutators: {
|
|
thirtyMinuteSize: function() {
|
|
return this.get('maxSize') * 30;
|
|
},
|
|
sixtyMinuteSize: function(){
|
|
return this.get('maxSize') * 60;
|
|
}
|
|
}
|
|
});
|
|
}); |