mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
UI Formatting Cleanup
This commit is contained in:
parent
b963f2aa82
commit
52e3d96f4a
110 changed files with 901 additions and 701 deletions
|
@ -1,3 +1,5 @@
|
|||
/* eslint no-empty-function: 0 no-extend-native: 0 */
|
||||
|
||||
window.console = window.console || {};
|
||||
window.console.log = window.console.log || function() {};
|
||||
window.console.group = window.console.group || function() {};
|
||||
|
@ -26,7 +28,7 @@ if (!String.prototype.endsWith) {
|
|||
value(searchString, position) {
|
||||
position = position || this.length;
|
||||
position = position - searchString.length;
|
||||
var lastIndex = this.lastIndexOf(searchString);
|
||||
const lastIndex = this.lastIndexOf(searchString);
|
||||
return lastIndex !== -1 && lastIndex === position;
|
||||
}
|
||||
});
|
||||
|
@ -34,6 +36,6 @@ if (!String.prototype.endsWith) {
|
|||
|
||||
if (!('contains' in String.prototype)) {
|
||||
String.prototype.contains = function(str, startIndex) {
|
||||
return -1 !== String.prototype.indexOf.call(this, str, startIndex);
|
||||
return String.prototype.indexOf.call(this, str, startIndex) !== -1;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue