Fixed url detection of no log of ui log request.
This commit is contained in:
parent
b7a36e7fd0
commit
9c3a5d6bc5
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class _trackSingleton
|
|||
$(document).bind( 'ajaxComplete', ( e, request, settings ) =>
|
||||
|
||||
# do not log ui requests
|
||||
if settings.url && settings.url.substr(0,3) isnt '/ui'
|
||||
if settings.url && settings.url.substr(settings.url-3,3) isnt '/ui'
|
||||
level = 'notice'
|
||||
responseText = ''
|
||||
if request.status >= 400
|
||||
|
|
Loading…
Reference in a new issue