fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Notifications position changed to top-left, so it won't get over auth buttons

This commit is contained in:
Felipe Martín 2014-08-24 18:36:34 +02:00
parent c88437c068
commit 1dc87d950c
1 changed files with 18 additions and 14 deletions

View File

@ -1,5 +1,6 @@
if USE_PJAX
NProgress.start()
# Toastr config
toastr.options =
"positionClass": "toast-top-left"
window._updateMessages = false
window.updateMessagesHTML = ->
@ -15,6 +16,9 @@ if USE_PJAX
toastr[message.extra_tags](message.message)
window._updateMessages = false
if USE_PJAX
NProgress.start()
window.imageLoad = (element) ->
imgLoad = imagesLoaded(element)