Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | changed = false; |
51 | 51 | if ( $username.val() == '' ) { |
52 | 52 | var cookieUsername = $.cookie( 'moodbar-feedback-username' ); |
53 | | - if ( cookieUsername != '' ) { |
| 53 | + if ( cookieUsername != '' && cookieUsername !== null ) { |
54 | 54 | $username.val( cookieUsername ); |
55 | 55 | changed = true; |
56 | 56 | } |