Skip to content

IE7 digits render bug #7

@ar7em

Description

@ar7em

I've got some issues with IE7, no matter what the counter is set to, it always shows '0'. The problem starts at line 180: IE7 recognize 'digit' in 'each' loop as 'undefined'. I suppose it should be fixed like next (yet it works for me):

$.each(digits, function(i, digit) {
     if (digit) { // due to bug (http://bugs.jquery.com/ticket/4180) it may not work in IE7
          epart.append($('<span>').addClass('digit digit' + digit).text(digit));
     } else {
          var ie_digit = digits.charAt(i);
          epart.append($('<span>').addClass('digit digit' + ie_digit).text(ie_digit));                            
     }                        
});

Thank you for attention and your hard work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions