Unverified Commit 72ee6b85 authored by Aral Balkan's avatar Aral Balkan
Browse files

Added smooth scrolling to new message for All Friends timeline.

parent a2fd0119
......@@ -8,6 +8,7 @@
<script type='text/javascript' src='/js/superagent.js'></script>
<script type='text/javascript' src='/js/moment.js'></script>
<script type='text/javascript' src='/js/set.js'></script>
<script type='text/javascript' src='/js/zenscroll.min.js'></script>
<script type='text/javascript' src='/js/all-friends.js'></script>
<script type='text/javascript' data-set-text='meta'></script>
......@@ -28,7 +28,7 @@ window.addEventListener('load', function(){
var forEach = Array.prototype.forEach;
forEach.call(addedNodes, function(node){
// Scroll the added node into view.
zenscroll.intoView(node, 750);
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