diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 73a3613..540fb00 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,6 @@ - @@ -41,8 +40,8 @@ - - + + @@ -154,21 +153,21 @@ - + - + - + - - + + @@ -252,8 +251,8 @@ @@ -268,10 +267,10 @@ - @@ -677,19 +676,25 @@ - + - + - + @@ -1056,14 +1061,6 @@ - - - - - - - - @@ -1088,23 +1085,31 @@ - + - + + + + + + + + + + + + + + + + + - - - - - - - - \ No newline at end of file diff --git a/html/js/app.v3.js b/html/js/app.v3.js index 9873ed7..7a8a783 100644 --- a/html/js/app.v3.js +++ b/html/js/app.v3.js @@ -65,7 +65,8 @@ var APP = function () { } }, showFeed = function (opt) { - var output, d; + var output, d, $bodyContents ; + $bodyContents = $('#bodyContents'); console.log('show feed ' + opt); // $('#feedcontent').empty(); d = { @@ -73,7 +74,9 @@ var APP = function () { }; output = _feed.render(d); - $('#bodyContents').empty().html(output); + $bodyContents.empty(); + $('BODY').scrollTop(0); + $bodyContents.html(output); $('img').unveil(); }, doUpdate = function (data) {