mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Call initialize as last thing in qupzilla:restore and qupzilla:speeddial
Fix list of tabs in session being displayed as empty sometimes.
This commit is contained in:
parent
cb771352da
commit
6652d971ba
|
@ -279,13 +279,6 @@ function init()
|
|||
}
|
||||
}
|
||||
|
||||
// Initialize
|
||||
if (window.external) {
|
||||
init();
|
||||
} else {
|
||||
document.addEventListener("_qupzilla_external_created", init);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -314,4 +307,17 @@ if (window.external) {
|
|||
<input class="button" type="button" id="restore-session-button" value=" %BUTTON-RESTORE% " onclick="restoreSession();">
|
||||
</div>
|
||||
</div>
|
||||
</body></html>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// Initialize
|
||||
if (window.external) {
|
||||
init();
|
||||
} else {
|
||||
document.addEventListener("_qupzilla_external_created", init);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -498,13 +498,6 @@ function init()
|
|||
alignPage();
|
||||
}
|
||||
|
||||
// Initialize
|
||||
if (window.external) {
|
||||
init();
|
||||
} else {
|
||||
document.addEventListener('_qupzilla_external_created', init);
|
||||
}
|
||||
|
||||
</script>
|
||||
<div id="fadeOverlay2" class="overlay" style="display:none;">
|
||||
<div id="settingsBox">
|
||||
|
@ -550,4 +543,14 @@ if (window.external) {
|
|||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
// Initialize
|
||||
if (window.external) {
|
||||
init();
|
||||
} else {
|
||||
document.addEventListener('_qupzilla_external_created', init);
|
||||
}
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user