From b494fe967a447e3c5a5520235229045b42796c6e Mon Sep 17 00:00:00 2001 From: d11e9 Date: Thu, 7 Apr 2016 12:48:50 +0100 Subject: [PATCH] remove unused deps and fix newfile scrolling --- assets/js/app.js | 2 +- index.html | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index e9f508975f..ae3cec0453 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -286,7 +286,7 @@ window.localStorage[SOL_CACHE_FILE] = ''; updateFiles(); - $filesEl.animate({left: (0 - activeFilePos() + (FILE_SCROLL_DELTA/2)) + "px"}, "slow", function(){ + $filesEl.animate({left: Math.max( (0 - activeFilePos() + (FILE_SCROLL_DELTA/2)), 0)+ "px"}, "slow", function(){ reAdjust(); }) }); diff --git a/index.html b/index.html index 068c797e76..b225ebbb46 100644 --- a/index.html +++ b/index.html @@ -38,15 +38,6 @@ - - - - - - - - -