Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-38347 - Calendar - Fixing arrow output on Android devices

  • Loading branch information...
commit fce7fd554ccaa2af0197bffac9243425319ec1fa 1 parent 43ded67
@jsnfwlr jsnfwlr authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/outputlib.php
View
5 lib/outputlib.php
@@ -500,7 +500,10 @@ private function check_theme_arrows() {
$this->rarrow = '▶';
$this->larrow = '◀';
}
- elseif (false !== strpos($uagent, 'Konqueror')) {
+ elseif ((false !== strpos($uagent, 'Konqueror'))
+ || (false !== strpos($uagent, 'Android'))) {
+ // The fonts on Android don't include the characters required for this to work as expected.
+ // So we use the same ones Konqueror uses.
$this->rarrow = '→';
$this->larrow = '←';
}
Please sign in to comment.
Something went wrong with that request. Please try again.