SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    jQuery 1.9.0 ads zoom 1 to iPad/iPhone body tag

    Thought I was going crazy. I tracked it to jquery. Then google confirmed it http://bugs.jquery.com/ticket/13239

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,889
    Mentioned
    210 Post(s)
    Tagged
    12 Thread(s)
    Oh! That's nasty.
    It also seems to affect Chrome and Safari on the PC.
    And, come to think of it, I've been experiencing some weird behaviour from one of my Chrome extensions in conjunction with jQuery lately.
    Maybe this has got something to do with it.

    Anyway, as this is a regression from 1.8.3, you can just drop back to that version by way of a workaround until they fix the problem.

    Or, if you absolutely need to use the latest version, just do:

    Code JavaScript:
    $(document).ready(function() {
      $('body').removeAttr( 'style' );
    });

  3. #3
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Thanks Pullo. I do have to use it. One of the plugins needed it. Everything works now though with it. Pretty sure that would only affect ie anyway. They'll fix it I'm sure in the next release. That is pretty nasty though. That could do a lot of damage to sites. I was seeing it in my iPhone source and just scratching my head. Ben doing that a lot on this site.

  4. #4
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,889
    Mentioned
    210 Post(s)
    Tagged
    12 Thread(s)
    Yeah, a lot of the time I just include jQuery latest for development purposes, but then forget to specify an exact version on the live site.
    This is a great example of why that is a bad idea.

    The new site's looking god by the way

  5. #5
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    jQuery 1.9.1 was released yesterday, and ticket #13089 has been listed as being fixed.


    http://blog.jquery.com/2013/02/04/jq...-9-1-released/
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •