parent
a24d2921af
commit
967c273ddb
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ ipc = require 'ipc'
|
||||||
remote = require 'remote'
|
remote = require 'remote'
|
||||||
|
|
||||||
# Helper function to resolve relative url.
|
# Helper function to resolve relative url.
|
||||||
a = document.createElement 'a'
|
a = window.top.document.createElement 'a'
|
||||||
resolveUrl = (url) ->
|
resolveUrl = (url) ->
|
||||||
a.href = url
|
a.href = url
|
||||||
a.href
|
a.href
|
||||||
|
|
Loading…
Reference in a new issue