Skip to content

Commit

Permalink
Fixed #236
Browse files Browse the repository at this point in the history
  • Loading branch information
poonwu committed Oct 19, 2016
1 parent 509cd44 commit 1358874
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,11 @@ angular.module('reachRabbitApp.influencer.controller', ['reachRabbitApp.service'
$scope.profile = _.merge({}, $scope.formData);

if($stateParams.showVerify) {
var container = $('html, body');
var scrollTo = $('#showVerify');
container.animate({
scrollTop: scrollTo.offset().top - container.offset().top + container.scrollTop()
}, 700);
}
})
.catch(function (err) {
Expand Down
2 changes: 1 addition & 1 deletion app/view/influencer-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h1>แก้ไข Profile ของฉัน</h1>

<div class="card-row">
<div class="card-title col-xs-12">
<div class="card-title-content">
<div class="card-title-content" id="showVerify">
ข้อมูลยืนยันตัวตน
</div>
</div>
Expand Down

0 comments on commit 1358874

Please sign in to comment.