fixed className shortcut on element notification - closes #11

This commit is contained in:
Jaime Pillora
2014-02-06 00:30:03 +11:00
parent a2ec6c036b
commit d5a49073ec
12 changed files with 26 additions and 28 deletions
+2 -4
View File
@@ -329,9 +329,7 @@ class Notification
setGlobalPosition: () ->
position = @getPosition()
[pMain, pAlign] = position
[pMain, pAlign] = @getPosition()
main = positions[pMain]
align = positions[pAlign]
@@ -481,7 +479,7 @@ class Notification
$.extend @options, options
#shortcut special case
else if $.type(options) is 'string'
@options.color = options
@options.className = options
if @container and not data
@show false