Skip to content

Commit

Permalink
Just use the div instead of parentNode
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhelmet committed Apr 28, 2011
1 parent 2f0dc4c commit 85478a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/static/bookmarklet.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
div.innerHTML = data
te = document.createTextNode(' ')
div.appendChild(te)
setTimeout((-> te.parentNode.removeChild(te)), 50)
setTimeout((-> div.removeChild(te)), 50)

socket.connect()
message = { url: url, to: to }
Expand Down

0 comments on commit 85478a1

Please sign in to comment.