continue the number ordering in ol element not working (Safari)
Opened this issue · 1 comments
schi commented
In Safari browser numbers are wrong. I changed to
if($cloneMe.get(0).tagName == 'OL'){
var startWith = $clone.get(0).childElementCount;
$cloneMe.attr('style','counter-reset: li ' + startWith);
}
novalis commented
Chrome too. This patch works for me (assuming that I set up the necessary counter stuff in my CSS).