mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-01 01:02:38 +02:00
Fix going back from Twitter password recovery page
This commit is contained in:
parent
c8328e9b9f
commit
116175cf9f
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ Item {
|
|||
onUrlChanged: {
|
||||
// Record history, skipping null and duplicate items.
|
||||
var urlString = url + "";
|
||||
urlString = urlString.replace(/\//g, "%2F"); // Consistent representation of "/"s to avoid false differences.
|
||||
if (urlString.length > 0 && (historyIndex === -1 || urlString !== history[historyIndex])) {
|
||||
historyIndex++;
|
||||
history = history.slice(0, historyIndex);
|
||||
|
|
Loading…
Reference in a new issue