in scroll_to_top.js at line 6:
$("body").append("<p id='back-top'><a href='#top'><span></span><div id='link'>"+Drupal.t("Back to Top")+"</div></a></p>");
'block' elements cannot be inside 'inline' elements. causes visual artefact on chrome (not tested in others)

CommentFileSizeAuthor
#2 scroll_to_top.patch2.48 KBFATALIST

Comments

tarekdj’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Status: Active » Needs review

Hi Fatalist,
Fix commited to 6.x-2.x-dev but needs test before pushing to stable release.

FATALIST’s picture

StatusFileSize
new2.48 KB

Hi.

Now it looking good, but 'div' still inside 'a'. I fixed it for my own and here is patch. Can you take a look?
I don't sure about right way to attach patch file, so i just attach it to my comment.

Sorry for my bad english...

tarekdj’s picture

Status: Needs review » Fixed

Fix commited to dev release. Thanks @FATALIST.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.