mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Fix for handling the Dropbox authorization redirect.
This commit is contained in:
parent
0b09885a1a
commit
dfda8d561f
1 changed files with 6 additions and 4 deletions
|
@ -10,10 +10,12 @@
|
|||
if (anchor.length > 1) {
|
||||
anchor = anchor.split('#')[1];
|
||||
}
|
||||
if (searchQuery.length > 0 && anchor.length > 0) {
|
||||
searchQuery = search + "&" + anchor;
|
||||
} else {
|
||||
searchQuery = anchor;
|
||||
if (anchor.length > 0) {
|
||||
if (search.length > 0) {
|
||||
searchQuery = search + "&" + anchor;
|
||||
} else {
|
||||
searchQuery = anchor;
|
||||
}
|
||||
}
|
||||
|
||||
function getQueryVariable(query, variable) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue