3
0
Fork 0
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:
David Rowe 2017-05-09 09:03:48 +12:00
parent c8328e9b9f
commit 116175cf9f

View file

@ -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);