Skip to content

Commit

Permalink
animate scrolling to tabs upon receiving the check results
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesanches committed Oct 27, 2016
1 parent 8be69ff commit 1b026b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/app/static/js/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ define([
//alert(xhr.response);
document.getElementById("results").innerHTML = xhr.response;
JQ("#tabs").tabs();
JQ('html, body').animate({scrollTop: $("#tabs").offset().top}, 1000);

console.info('Received:', xhr.responseType, xhr.response.byteLength, 'Bytes');
//blob = new Blob([xhr.response], {type: "application/zip"});
Expand Down

0 comments on commit 1b026b4

Please sign in to comment.