projects
/
archive
/
20170607
/
tools
/
tic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2c936
)
[TIC-Web] fix the height of a div's full content
05/110605/1
author
ChangHyun Lee
<leechwin.lee@samsung.com>
Tue, 17 Jan 2017 07:06:46 +0000
(16:06 +0900)
committer
ChangHyun Lee
<leechwin.lee@samsung.com>
Tue, 17 Jan 2017 07:06:46 +0000
(16:06 +0900)
Fixed a bug where scrolling did not follow the log.
Change-Id: I62923c807867968c46cbaa646cce841fad0f422d
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
public/src/js/page/image.js
patch
|
blob
|
history
diff --git
a/public/src/js/page/image.js
b/public/src/js/page/image.js
index
97f96ed
..
fdb2183
100644
(file)
--- a/
public/src/js/page/image.js
+++ b/
public/src/js/page/image.js
@@
-60,7
+60,7
@@
define([
log: data
});
var $imageNewLog = $('#tic-image-new-log').append(logItem);
- $imageNewLog.animate({ scrollTop : $imageNewLog.
height() }, 'slow
');
+ $imageNewLog.animate({ scrollTop : $imageNewLog.
prop('scrollHeight') }, 'fast
');
});
// when finish