SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: jQuery 1.9.0 ads zoom 1 to iPad/iPhone body tag

Hybrid View

  1. #1
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,351
    Mentioned
    12 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
    Grüße aus'm Pott
    SitePoint Award Recipient Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    2,489
    Mentioned
    40 Post(s)
    Tagged
    3 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' );
    });
    How well do you know your JavaScript from your jQuery?
    Check out SitePoint's latest JavaScript challenge


    My blog

  3. #3
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,351
    Mentioned
    12 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
    Grüße aus'm Pott
    SitePoint Award Recipient Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    2,489
    Mentioned
    40 Post(s)
    Tagged
    3 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
    How well do you know your JavaScript from your jQuery?
    Check out SitePoint's latest JavaScript challenge


    My blog

  5. #5
    Barefoot on the Moon! silver trophy
    Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    3,670
    Mentioned
    21 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
  •