Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | 'onOutputPageBeforeHTML' ); |
50 | 50 | |
51 | 51 | class ExtMobileFrontend { |
52 | | - const VERSION = '0.5.0'; |
| 52 | + const VERSION = '0.5.1'; |
53 | 53 | |
54 | 54 | private $doc; |
55 | 55 | |
— | — | @@ -172,9 +172,7 @@ |
173 | 173 | $props['is_wireless_device'] === 'true' && |
174 | 174 | $props['is_tablet'] === 'false' ) { |
175 | 175 | ob_start( array( $this, 'DOMParse' ) ); |
176 | | - } |
177 | | - |
178 | | - if ($useFormat === 'mobile') { |
| 176 | + } elseif ($useFormat === 'mobile') { |
179 | 177 | ob_start( array( $this, 'DOMParse' ) ); |
180 | 178 | } |
181 | 179 | |