Rev3736, Fix sidebar content signing changer links
This commit is contained in:
parent
5b50a113d1
commit
2ceada84a6
4 changed files with 12 additions and 2 deletions
|
@ -464,6 +464,10 @@ class Sidebar extends Class
|
|||
@tag?.find("#button-sign-publish-menu").removeClass("visible")
|
||||
@tag?.find(".contents + .flex").removeClass("sign-publish-flex")
|
||||
|
||||
@tag.find(".contents-content").off("click touchend").on "click touchend", (e) =>
|
||||
$("#input-contents").val(e.currentTarget.innerText);
|
||||
return false;
|
||||
|
||||
menu = new Menu(@tag.find("#menu-sign-publish"))
|
||||
menu.elem.css("margin-top", "-130px") # Open upwards
|
||||
menu.addItem "Sign", =>
|
||||
|
|
|
@ -913,6 +913,12 @@ window.initScrollable = function () {
|
|||
return (ref1 = _this.tag) != null ? ref1.find(".contents + .flex").removeClass("sign-publish-flex") : void 0;
|
||||
};
|
||||
})(this));
|
||||
this.tag.find(".contents-content").off("click touchend").on("click touchend", (function(_this) {
|
||||
return function(e) {
|
||||
$("#input-contents").val(e.currentTarget.innerText);
|
||||
return false;
|
||||
};
|
||||
})(this));
|
||||
menu = new Menu(this.tag.find("#menu-sign-publish"));
|
||||
menu.elem.css("margin-top", "-130px");
|
||||
menu.addItem("Sign", (function(_this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue