Index: trunk/extensions/MobileFrontend/javascripts/beta_application.js |
— | — | @@ -212,11 +212,7 @@ |
213 | 213 | } |
214 | 214 | |
215 | 215 | function bind( type, handler ) { |
216 | | - if ( el.addEventListener ) { // standardised browser |
217 | | - el.addEventListener( type, handler, false ); |
218 | | - } else if( el.attachEvent ) { |
219 | | - el.attachEvent( 'on' + type, handler ); |
220 | | - } |
| 216 | + el.addEventListener( type, handler, false ); |
221 | 217 | } |
222 | 218 | return { |
223 | 219 | addClass: addClass, |
Index: trunk/extensions/MobileFrontend/javascripts/application.js |
— | — | @@ -200,11 +200,7 @@ |
201 | 201 | } |
202 | 202 | |
203 | 203 | function bind( type, handler ) { |
204 | | - if ( el.addEventListener ) { // standardised browser |
205 | | - el.addEventListener( type, handler, false ); |
206 | | - } else if( el.attachEvent ) { |
207 | | - el.attachEvent( 'on' + type, handler ); |
208 | | - } |
| 204 | + el.addEventListener( type, handler, false ); |
209 | 205 | } |
210 | 206 | return { |
211 | 207 | addClass: addClass, |
Index: trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php |
— | — | @@ -71,9 +71,11 @@ |
72 | 72 | {$this->data['contentHtml']} |
73 | 73 | </div> |
74 | 74 | {$this->data['footerHtml']} |
| 75 | + <!--[if gt IE 9]><!--> |
75 | 76 | {$startScriptTag}{$javaScriptPath}{$betaPrefix}application.js?version=01132011120915{$endScriptTag} |
76 | 77 | {$openSearchScript} |
77 | 78 | {$filePageScript} |
| 79 | + <!--[endif]--> |
78 | 80 | </body> |
79 | 81 | </html> |
80 | 82 | HTML; |