mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
browser adds itself to DOM in add, not show
This commit is contained in:
@@ -15,7 +15,7 @@ class Browser extends Resource
|
||||
true
|
||||
|
||||
# innerHTML - Optional String to set as iframe's content.
|
||||
show: (innerHTML=null) ->
|
||||
add: (innerHTML=null) ->
|
||||
style = "width:100%;height:100%;background-color:#fff;border:none"
|
||||
@html = "<iframe src='#{@url}' style='#{style}'></iframe>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user