quiescing JS unit tests

This commit is contained in:
El RIDO 2019-05-10 21:01:34 +02:00
parent 700f8a0ea7
commit 0f42bd818f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 2 additions and 6 deletions

View file

@ -1053,12 +1053,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
// fallback below
console.error('URL interface not properly supported, error:', e);
}
} else {
console.warn('URL interface appears not to be supported in this browser.');
}
// fallback to simple RegEx
console.warn('fallback to simple RegEx search');
// Attention: This also returns the delete token inside of the ID, if it is specified
id = (window.location.search.match(idRegExFind) || [''])[0];