mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 09:09:42 +02:00
some formatting
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
define(
|
||||
[
|
||||
define([
|
||||
'jquery',
|
||||
'messenger'
|
||||
], function ($, Messenger) {
|
||||
|
@@ -4,7 +4,8 @@ String.prototype.format = function () {
|
||||
return this.replace(/{(\d+)}/g, function (match, number) {
|
||||
if (typeof args[number] !== 'undefined') {
|
||||
return args[number];
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return match;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user