From 2a855cbc9a4c8add31a62e01fdc5fec2a86edfa1 Mon Sep 17 00:00:00 2001 From: Zack Bloom Date: Tue, 26 Jul 2016 19:28:39 -0400 Subject: [PATCH] Raise the priority of the page hiding --- pace.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pace.coffee b/pace.coffee index a5c7db55..f668829e 100644 --- a/pace.coffee +++ b/pace.coffee @@ -731,7 +731,7 @@ Pace.start = (_options) -> paceHideStyle = document.createElement 'style' document.head.appendChild paceHideStyle - paceHideStyle.innerHTML = "body > *:not(.pace), body:before, body:after { -webkit-transition: opacity .4s ease-in-out; -moz-transition: opacity .4s ease-in-out; -o-transition: opacity .4s ease-in-out; -ms-transition: opacity .4s ease-in-out; transition: opacity .4s ease-in-out } body:not(.pace-done) > *:not(.pace), body:not(.pace-done):before, body:not(.pace-done):after { opacity: 0 }" + paceHideStyle.innerHTML = "body > *:not(.pace), body:before, body:after { -webkit-transition: opacity .4s ease-in-out; -moz-transition: opacity .4s ease-in-out; -o-transition: opacity .4s ease-in-out; -ms-transition: opacity .4s ease-in-out; transition: opacity .4s ease-in-out } body:not(.pace-done) > *:not(.pace), body:not(.pace-done):before, body:not(.pace-done):after { opacity: 0 !important }" else paceHideStyle?.innerHTML = ''