diff --git a/public/src/admin/manage/flags.js b/public/src/admin/manage/flags.js index 15417faa30..30209bca11 100644 --- a/public/src/admin/manage/flags.js +++ b/public/src/admin/manage/flags.js @@ -22,6 +22,11 @@ define('admin/manage/flags', [ updateFlagDetails(ajaxify.data.posts); components.get('posts/flags').on('click', '[component="posts/flag/update"]', updateFlag); + + // Open flag as indicated in location bar + if (window.location.hash.startsWith('#flag-pid-')) { + $(window.location.hash).collapse('toggle'); + } }; function handleDismiss() {