Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.preview.js |
— | — | @@ -47,9 +47,9 @@ |
48 | 48 | }, |
49 | 49 | function( data ) { |
50 | 50 | if ( |
51 | | - data.parse == undefined || |
52 | | - data.parse.text == undefined || |
53 | | - data.parse.text['*'] == undefined |
| 51 | + typeof data.parse == 'undefined' || |
| 52 | + typeof data.parse.text == 'undefined' || |
| 53 | + typeof data.parse.text['*'] == 'undefined' |
54 | 54 | ) { |
55 | 55 | return; |
56 | 56 | } |