mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 07:31:33 +00:00
Update common.js
This commit is contained in:
@@ -1792,7 +1792,7 @@ function isURL(str_url) {
|
||||
}
|
||||
|
||||
function isOtherSiteUrl(url) {
|
||||
return url.indexOf('http://127.0.0.1') < 0 && isURL(url);
|
||||
return url && url.indexOf('http://127.0.0.1') < 0 && isURL(url);
|
||||
}
|
||||
|
||||
function reloadApp() {
|
||||
|
Reference in New Issue
Block a user