…st be removeClass instead. Added a comment to help explain closeMenus
… them more consistent with class names. Added a componentType property to tooltips so we don't need to override/duplicate 'toggleOpenState' functionality. Added .length to an item that needed it.
The problem is in the function browser.flashVersion(), which, although the flash plugin description is "Shockwave Flash 11.2 r202", returns 11 instead of 11.2, which in turns, makes browser.isFlashSupported() fail because of the test flashVersion >= __FLASH_VERSION__, with __FLASH_VERSION__ defined as 11.2. This is caused by the erroneous regexp /\D+(\d+\.\d*).*/ in the call to replace() in browser.flashVersion, which searches only the first digit sequence, but discards the dot and the decimal part. Fix that by replacing the regexp by /\D+(\d+\.?\d*).*/, which will search for a digit sequence followed by an optional dot and decimal part, and answer "11.2", and let browser.isFlashSupported succeed, and the videos play. Signed-off-by: Philippe De Muyter <email@example.com>
…sues with closing menus
Menus should close after selecting an option from them Fixes large menus having unselectable bottom items The timeout for determining the user to be inactive refreshes each time the user interacts with part of the controller menus and drawer close when the ui hides from inactivity or is toggled closed Only one menu can be open at a time added 'directSelect' parameter to UI for interactions where the event should only be fired if the target is the listened element and not its children
Touch only has the "X" close button for the drawer. clearCompactMode called when something which updates the content of the control bar is called so that its always up-to-date _userActivity only removes classes and checks for compact mode if we were previously not showing the UI. Pre-calculate the breakpoint for quicker execution and greater consistency for switching between display modes.