Activation de la barre de progression de turbolinks
This commit is contained in:
parent
94a719bc0d
commit
ab4db4a761
@ -34,6 +34,8 @@ $.webshims.setOptions 'forms-ext',
|
|||||||
'classes': 'show-yearbtns hide-btnrow show-uparrow'
|
'classes': 'show-yearbtns hide-btnrow show-uparrow'
|
||||||
$.webshims.polyfill 'forms forms-ext'
|
$.webshims.polyfill 'forms forms-ext'
|
||||||
|
|
||||||
|
Turbolinks.enableProgressBar()
|
||||||
|
|
||||||
$(document).on 'page:fetch submit', ->
|
$(document).on 'page:fetch submit', ->
|
||||||
$('em#loading').fadeIn('slow')
|
$('em#loading').fadeIn('slow')
|
||||||
$(document).on 'page:change ready', ->
|
$(document).on 'page:change ready', ->
|
||||||
|
Loading…
Reference in New Issue
Block a user