Fix firefox double load of quickshell

This commit is contained in:
fbsanchez 2020-12-02 13:42:23 +01:00
parent bd17efa3dd
commit e501b018e4
1 changed files with 6 additions and 0 deletions

View File

@ -251,6 +251,12 @@ function quickShell()
$new .= $config['ws_proxy_url'].'/'.$method."';";
}
// Update firefox issue.
$original = ' this.iframe_.src = \'#\';';
$trick = 'this.iframe_.src = \'javascript:\';';
$r = str_replace($original, $trick, $r);
// Update url.
$gotty = str_replace($url, $new, $gotty);