Skip to content

Commit 3c9c421

Browse files
committed
run once right after data fill the table
1 parent 232c8fd commit 3c9c421

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/ethplorer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,12 +2163,14 @@ Ethplorer = {
21632163

21642164
}
21652165
var timer = null;
2166-
$('.scrollwrapper').on( 'scroll', function(e){
2166+
$('.scrollwrapper').on('scroll', function(e){
21672167

21682168
if (timer) clearTimeout(timer);
21692169
timer = setTimeout(function(){
21702170
checkPosition(e.target)
21712171
}, 100);
2172+
}).one("DOMSubtreeModified", function(event){
2173+
checkPosition(event.target.parentElement)
21722174
});
21732175

21742176
}

0 commit comments

Comments
 (0)