mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 01:21:18 +08:00
REFACTOR: removes useless self assignment (#9681)
This commit is contained in:
parent
23d585f255
commit
af78d188b8
|
@ -91,7 +91,6 @@ createWidget("topic-admin-menu-button", {
|
||||||
const position = $button.position();
|
const position = $button.position();
|
||||||
|
|
||||||
const rtl = $("html").hasClass("rtl");
|
const rtl = $("html").hasClass("rtl");
|
||||||
position.left = position.left;
|
|
||||||
position.outerHeight = $button.outerHeight();
|
position.outerHeight = $button.outerHeight();
|
||||||
|
|
||||||
if (rtl) {
|
if (rtl) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user