Jump to content

MediaWiki:Common.js: Difference between revisions

is this necessary?
(attempting to replace deprecated addHandler())
(is this necessary?)
Line 140: Line 140:
             if (hasClass(Cells[j], "hovercell"))
             if (hasClass(Cells[j], "hovercell"))
             {
             {
                 $(Cells[j]).mouseover(showDescrip(this.id, true));
                 $(Cells[j]).mouseover(new Function("evt", "showDescrip(this.id, true);"));
                 $(Cells[j]).mouseout(showDescrip(this.id, false));
                 $(Cells[j]).mouseout(new Function("evt", "showDescrip(this.id, false);"));
             }
             }
         }
         }