ENYO-2809: fix a wrong condition statement

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-2809

fix a wrong condition statement

Checked on Windows 7 : Chrome

Enyo-DCO-1.1-Signed-off-by: Vincent HERILIER vincent.herilier@hp.com