js: fix eslint warnings.
This commit is contained in:
@@ -107,7 +107,7 @@ PostTooltip.on_disable_tooltips = function (event) {
|
||||
$(event.target).parents(".qtip").qtip("hide");
|
||||
|
||||
if (Utility.meta("current-user-id") === "") {
|
||||
Danbooru.notice('<a href="/session/new">Login</a> to disable tooltips permanently');
|
||||
Utility.notice('<a href="/session/new">Login</a> to disable tooltips permanently');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ PostTooltip.on_disable_tooltips = function (event) {
|
||||
method: "PUT",
|
||||
data: { "user[disable_post_tooltips]": "true" },
|
||||
}).then(function() {
|
||||
Danbooru.notice("Tooltips disabled; check your account settings to re-enable.");
|
||||
Utility.notice("Tooltips disabled; check your account settings to re-enable.");
|
||||
location.reload();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user