Quick bug fix in admin.js