Well, this check was already there to fix some js error reports before your commit https://github.com/WhaleWatching/phpmyadmin/commit/d74ac17cb46a5153e447d8f7114999cc22ed875e, you removed and readded it now. Why did you remove? Did it fix something at that time?