Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34446 Completion report: Add sideways text support to more browsers

  • Loading branch information...
commit c5cf1bc090c7462867ab79d3d4839e4bb469314b 1 parent 78a4cef
@sammarshallou sammarshallou authored danpoltawski committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/moodlelib.php
View
5 lib/moodlelib.php
@@ -8669,7 +8669,10 @@ function get_browser_version_classes() {
*/
function can_use_rotated_text() {
global $USER;
- return ajaxenabled(array('Firefox' => 2.0)) && !$USER->screenreader;;
+ return (check_browser_version('MSIE', 9) || check_browser_version('Firefox', 2) ||
+ check_browser_version('Chrome', 21) || check_browser_version('Safari', 536.26) ||
+ check_browser_version('Opera', 12) || check_browser_version('Safari iOS', 533)) &&
+ !$USER->screenreader;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.