mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Scaffold: Accept shorthand URLs in URL box
Like "google.com" instead of "https://www.google.com/".
This commit is contained in:
parent
307753d313
commit
1e08985dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ var Scaffold = new function () {
|
|||
browserUrl.addEventListener('keydown', function (e) {
|
||||
if (e.key == 'Enter') {
|
||||
Zotero.debug('Scaffold: Loading URL in browser: ' + browserUrl.value);
|
||||
_browser.loadURI(Services.io.newURI(browserUrl.value), {
|
||||
_browser.fixupAndLoadURIString(browserUrl.value, {
|
||||
triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal()
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue