From 18f8ae9d35fc26f5c91290a590dc2803d35313ef Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Sat, 22 Feb 2014 08:37:30 +0100 Subject: [PATCH] Revert scroll change in demo --- demo/reagentdemo/page.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/reagentdemo/page.cljs b/demo/reagentdemo/page.cljs index 520ba13..b21585b 100644 --- a/demo/reagentdemo/page.cljs +++ b/demo/reagentdemo/page.cljs @@ -77,7 +77,7 @@ (.preventDefault e) (reset! page href) (reagent/next-tick - #(set! (.-scrollTop (.-documentElement js/document)) + #(set! (.-scrollTop (.-body js/document)) 0))) identity)) child]))