Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -1331,6 +1331,10 @@ |
1332 | 1332 | } |
1333 | 1333 | |
1334 | 1334 | $ptAnonLogin = $this->doc->getElementById( 'pt-anonlogin' ); |
| 1335 | + |
| 1336 | + if ( !$ptAnonLogin ) { |
| 1337 | + $ptAnonLogin = $this->doc->getElementById( 'pt-login' ); |
| 1338 | + } |
1335 | 1339 | |
1336 | 1340 | if ( $ptAnonLogin ) { |
1337 | 1341 | $ptAnonLoginLink = $ptAnonLogin->firstChild; |