change `else if` to `else`
Merge pull request #9987 from wangsai/fix-typo

change `else if` to `else`