global clash fix

This commit is contained in:
Jaime Pillora
2013-04-11 17:22:27 +10:00
parent d0f6a85143
commit 54d3e7822c
3 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -217,8 +217,8 @@ class Notification
#insert
insertCSS style
loadHTML: (style) ->
style = @getStyle(name)
loadHTML: ->
style = @getStyle()
@userContainer = $(style.html)
@text = @userContainer.find '[data-notify=text]'
if @text.length is 0