mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
toolbar now saves its state for radio buttons.
This commit is contained in:
parent
76c383dfdd
commit
cf9f8b3f8a
5 changed files with 30 additions and 5 deletions
11
UI/Instrumentation/StringFormat.js
Normal file
11
UI/Instrumentation/StringFormat.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
String.prototype.format = function () {
|
||||
var args = arguments;
|
||||
return this.replace(/{(\d+)}/g, function (match, number) {
|
||||
if (typeof args[number] !== 'undefined') {
|
||||
return args[number];
|
||||
} else {
|
||||
return match;
|
||||
}
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue