Skip to content

Commit b6d05ba

Browse files
authored
block: fix reference to titlebar while regenerating form for /64 ranges (#2320)
After jQuery UI migration (#2309), we need to use .morebits-dialog-title instead of `.ui-dialog-title`.
1 parent d88f5c4 commit b6d05ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/twinkleblock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Twinkle.block.callback.change_block64 = function twinkleblockCallbackChangeBlock
283283
// `dialog('option', 'title')`, but in practice that swallows
284284
// the scriptName and requires `.display`ing, which jumps the
285285
// window. It's just a line of text, so this is fine.
286-
const titleBar = document.querySelector('.ui-dialog-title').firstChild.nextSibling;
286+
const titleBar = document.querySelector('.morebits-dialog-title').firstChild.nextSibling;
287287
titleBar.nodeValue = titleBar.nodeValue.replace(priorName, relevantUserName);
288288
// Tweak unblock link
289289
const unblockLink = document.querySelector('.morebits-dialog-footerlinks a');

0 commit comments

Comments
 (0)