Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
414 views
in Q2A Core by

In Firefox anyway, hovering over disabled vote buttons doesn't show the title="" text.  This is because they are disabled:

        function post_disabled_button($post, $element, $value, $class)
        {
            if (isset($post[$element]))
                $this->output('<INPUT '.$post[$element].' TYPE="submit" VALUE="'.$value.'" CLASS="'.$class.'-disabled" DISABLED="disabled"/> ');
        }

If you change this to:

        function post_disabled_button($post, $element, $value, $class)
        {
            if (isset($post[$element]))
                $this->output('<INPUT '.$post[$element].' TYPE="button" VALUE="'.$value.'" CLASS="'.$class.'-disabled" /> ');
        }

then the title text shows, but clicking on the buttons still does nothing, as expected.

Please log in or register to answer this question.

...