mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
quiescing JS unit tests
This commit is contained in:
parent
700f8a0ea7
commit
0f42bd818f
3 changed files with 2 additions and 6 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue