mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-14 07:04:21 +08: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