mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
excmds.ts: export forceURI function
This commit is contained in:
parent
fdbf132f4e
commit
67e95a87d7
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function searchURL(provider: string, query: string) {
|
|||
|
||||
/** If maybeURI doesn't have a schema, affix http:// */
|
||||
/** @hidden */
|
||||
function forceURI(maybeURI: string): string {
|
||||
export function forceURI(maybeURI: string): string {
|
||||
// Need undefined to be able to open about:newtab
|
||||
if (maybeURI == "") return undefined
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue