Ticket #7266 (closed enhancement: invalid)
jQuery show and hide functions don't work properly when returned by ternary statements
|Reported by:||f.mardini@…||Owned by:|
In the test case I link to in this bug, I use a ternary statement to decide whether to run hide or show. However, if the condition for the ternary is a statement, the functions are not returned properly. This is demonstrated by using ternary statements to hide both 'Div X', 'Div Y' and 'Div Z'. However, although all the written ternary statements are supposed to be equivalent, the second one does not work.
This was tested on both Firefox and Chrome on mac.