yuvipanda/WikipediaMobile — comment on commit 0ad37e7a657788bbf054c19fec577013d2c70f91
File: assets/www/js/chrome.js line 189
By jdlrobson:

my preference would be to do

setMenuItemState('go-back', currentHistoryIndex > 0 ? true : false , true);