Commit 28c23306 authored by timmywil's avatar timmywil

Remove unnecessary commented code

parent 2e0c9bfd
...@@ -769,15 +769,6 @@ jQuery.each({ ...@@ -769,15 +769,6 @@ jQuery.each({
elem = elem[ 0 ]; elem = elem[ 0 ];
if ( t_w == "show" ) { if ( t_w == "show" ) {
// equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display);
// }
// if ( t_w == "hide"||t_w == "show" ) {
// ok(f_w === "" ? elem.style.width === f_w : elem.style.width.indexOf(f_w) === 0, "Width must be reset to " + f_w + ": " + elem.style.width);
// }
// if ( t_h == "hide"||t_h == "show" ) {
// ok(f_h === "" ? elem.style.height === f_h : elem.style.height.indexOf(f_h) === 0, "Height must be reset to " + f_h + ": " + elem.style.height);
equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display ); equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display );
} }
...@@ -805,13 +796,6 @@ jQuery.each({ ...@@ -805,13 +796,6 @@ jQuery.each({
cur_o = 1; cur_o = 1;
} }
// if ( t_o == "hide" || t_o == "show" ) {
// equals(cur_o, f_o, "Opacity must be reset to " + f_o + ": " + cur_o);
// }
// if ( t_w == "hide" ) {
// equals(elem.style.display, "none", "Hiding, display should be none: " + elem.style.display);
if ( t_o == "hide" || t_o == "show" ) { if ( t_o == "hide" || t_o == "show" ) {
equals( cur_o, f_o, "Opacity must be reset to " + f_o + ": " + cur_o ); equals( cur_o, f_o, "Opacity must be reset to " + f_o + ": " + cur_o );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment