mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-17 16:45:21 +00:00
Update common.js
This commit is contained in:
@@ -1792,7 +1792,7 @@ function isURL(str_url) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isOtherSiteUrl(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() {
|
function reloadApp() {
|
||||||
|
Reference in New Issue
Block a user