Hey everybody.

I got a laptop with Win 7 / IE8, when i visit a site with the back to top button, it does not render the button at all. JS isnt loaded. So i commented out this:

<?php
  if (variable_get('back_to_top_prevent_on_mobile', 'TRUE') && (is_mobile())) {
//    return FALSE;
  }
?>

Now its working fine again.

The output for my useragent:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; MAAU)

Thnx for this great module! (and because its on the front page, should i test http://drupal.org/project/scroll_to_top ? See if that fixes it?)

Comments

acke’s picture

Assigned: Unassigned » acke
Status: Active » Fixed

Hi!

Your useragent gives a match for mobile:

http://ideone.com/MrL1i

I isolated it to: OfficeLiveConnector.1.3;

it matches the rule for "nec".

I change the rule to "^nec" instead of "nec" and your useragent pass.

It's commited to HEAD and going into next release.

Rob C’s picture

Ok great, i'll test it asap, but this should indeed fix it. Thnx!

Status: Fixed » Closed (fixed)

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