Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi dedepress,

    thanks for your comment. could you provide an example, where
    jQuery("#wpadminbar").outerHeight();
    returns an object?

    As far as I know outerHeight() accepts one optional (boolean) parameter that defines whether the element’s margin should be included when calculating the “outer height” (see http://api.jquery.com/outerHeight/).

    Thread Starter dedepress

    (@dedepress)

    in wp-ajaxify-comments.js, on line 15

    var top = WPAC._Options.popupMarginTop + jQuery("#wpadminbar").outerHeight();

    I tested it with jQuery 1.8.3 and jQuery 1.9.1, the jQuery("#wpadminbar").outerHeight() returns object and we can’t get correct top value, it caused blockui message box can’t appear in right place. after set paremeter false, it’s work.

    Thread Starter dedepress

    (@dedepress)

    another issue reported by my client,: when you post the comment, the comment gets posted perfectly but the comment you write is still in textarea#comment . I think it should be emptied after the comment posted.

    Thread Starter dedepress

    (@dedepress)

    another issue:

    Uncaught ReferenceError: form is not defined, wp-ajaxify-comments.js:174

    Hi,

    I’m sorry, but I can’t reproduce the outerHeight problems; see http://jsfiddle.net/9EsHg/.

    Could you send me a link to the WordPress page where all the reported problems occur?

    Problem seems to be fixed. Please feel free to reopen the thread if you need further assistance…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘jQuery("#wpadminbar").outerHeight bug’ is closed to new replies.