cmshaw: Leverage: when Hardison pushes the button, everything goes boom (Geeks bring the firepower)
cmshaw ([personal profile] cmshaw) wrote in [site community profile] dw_beta 2011-05-31 02:46 am (UTC)

...Ah-hah, and scrolling up I see to check my JavaScript console in Chrome, which offers this error:

function _initUserhead(context) {
    $("span.ljuser",context).each(function() {
        var $usertag = $(this);

        $("img", $usertag).each(function() {
            // if the parent (a tag with link to userinfo) has userid in its URL, then
            // this is an openid user icon and we should use the userid
            var $head = $(this);
            var $parent = $head.parent("a[href]");
            var data = {};
            var userid;
            if (userid = $parent.attr("href").match(/\?userid=(\d+)/i)) 379 Uncaught TypeError: Cannot call method 'match' of undefined
                data.userid = userid[1];
                data.username = $usertag.attr("lj:user");
            if ( !data.username && !data.userid ) return;

            data.type = "user";
            $head.contextualhover( data );

That error doesn't show when I filter out the entry causing the problem.

Post a comment in response:

Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
Account name:
If you don't have an account you can create one now.
HTML doesn't work in the subject.


If you are unable to use this captcha for any reason, please contact us by email at

Links will be displayed as unclickable URLs to help prevent spam.