mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Minor fixes and polyfills
This commit is contained in:
parent
89a72a50cf
commit
feda4a9b67
7 changed files with 44 additions and 43 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue