Commit 8cbe80c2 authored by Leo Iannacone's avatar Leo Iannacone

back on top if hash is changes - which means if view is going to be updated

parent 26133b3b
...@@ -355,6 +355,7 @@ function Page_Distrubion(socket) ...@@ -355,6 +355,7 @@ function Page_Distrubion(socket)
var old_data = data var old_data = data
data = Utils.from_hash_to_data() data = Utils.from_hash_to_data()
update.page(old_data) update.page(old_data)
$('html').animate({scrollTop: 0}, 0);
}); });
$(window).on('load', function () { $(window).on('load', function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment