minor fixes

This commit is contained in:
Jaime Pillora
2013-06-21 09:44:21 +10:00
parent 74c55d476e
commit 00013d1865
6 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -165,6 +165,7 @@ pluginOptions =
arrowShow: true
arrowSize: 5
breakNewLines: true
# autoReposition: true
elementPosition: 'bottom'
globalPosition: 'top right'
style: 'bootstrap'
@@ -191,7 +192,6 @@ defaults = (opts) ->
createElem = (tag) ->
$ "<#{tag}></#{tag}>"
# references to global anchor positions
globalAnchors = {}
@@ -478,7 +478,7 @@ class Notification
#escape
unless @rawHTML
data = encode(data)
data = data.replace(/\n/,'<br/>') if @options.breakNewLines
data = data.replace(/\n/g,'<br/>') if @options.breakNewLines
#update content
@text.html(data)