Skip to content

Commit cf76cb5

Browse files
authored
Update URL when clicking on tags in the developerMenu (#507)
1 parent c156335 commit cf76cb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/developer-mode.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ function createUIForSuites() {
127127
checkbox.checked = !suite.disabled;
128128
checkbox.onchange = () => {
129129
suite.disabled = !checkbox.checked;
130-
updateParamsSuitesAndTags();
131130
updateURL();
132131
};
133132
checkboxes.push(checkbox);
@@ -261,6 +260,8 @@ function updateParamsSuitesAndTags() {
261260
}
262261

263262
function updateURL() {
263+
updateParamsSuitesAndTags();
264+
264265
const url = new URL(window.location.href);
265266

266267
url.searchParams.delete("tags");

0 commit comments

Comments
 (0)