Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query
This commit is contained in:
@ -44,5 +44,5 @@ work = ->
|
||||
if runs == stop_at_run
|
||||
stop()
|
||||
|
||||
$ ->
|
||||
$(document).on 'turbolinks:load', ->
|
||||
setTimeout(start, 100)
|
||||
|
2
app/assets/javascripts/profiler.coffee
Normal file
2
app/assets/javascripts/profiler.coffee
Normal file
@ -0,0 +1,2 @@
|
||||
$(document).on 'turbolinks:load', ->
|
||||
window.MiniProfiler.pageTransition() unless typeof window.MiniProfiler == 'undefined'
|
@ -279,6 +279,10 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.turbolinks-progress-bar {
|
||||
background-color: #2b90d9;
|
||||
}
|
||||
|
||||
.mastodon {
|
||||
$head: #282c37;
|
||||
$tusk: #d9e1e8;
|
||||
|
Reference in New Issue
Block a user