mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 21:39:34 +02:00
Minor fixes and polyfills
This commit is contained in:
@@ -11,7 +11,7 @@ define(function () {
|
||||
|
||||
//check if ajax call was made with data option
|
||||
if (xhr && xhr.data && xhr.type === 'DELETE') {
|
||||
if (xhr.url.indexOf('?') === -1) {
|
||||
if (!xhr.url.contains('?')) {
|
||||
xhr.url = xhr.url + '?' + $.param(xhr.data);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user