mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Update index.js
This commit is contained in:
4
index.js
4
index.js
@@ -22,8 +22,8 @@ import { sources } from "./common/modules/constants.js";
|
||||
const sourceURL = textField.value;
|
||||
if (!isValidHTTPURL(sourceURL))
|
||||
alert("Invalid HTTP URL.");
|
||||
// else open(`./view/?source=${sourceURL}`);
|
||||
else insertSource(sourceURL, "afterbegin", true);
|
||||
else open(`./view/?source=${sourceURL}`);
|
||||
// else insertSource(sourceURL, "afterbegin", true);
|
||||
};
|
||||
|
||||
// If source provided
|
||||
|
||||
Reference in New Issue
Block a user