remove less dependency

This commit is contained in:
2012-12-05 13:16:05 +01:00
parent a184a6d551
commit 5ba5762d9f
8 changed files with 38 additions and 39 deletions
@@ -0,0 +1,12 @@
jQuery ->
$("a[rel=popover]").popover()
$(".tooltip").tooltip()
$("a[rel=tooltip]").tooltip()
$('input.currency').each(->
obj = $(this)
original_width = obj.width()
obj.wrap("<div class='input-prepend'>")
currency_sign = $("<span class='add-on'>&euro;</span>")
obj.before(currency_sign)
obj.css('width', (original_width - currency_sign.outerWidth())+'px')
)