Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

copied_tooltip: Remove incorrect $ prefix from non-jQuery variable.

Anders Kaseorg6e0f9df188b9
diff --git a/web/src/copied_tooltip.js b/web/src/copied_tooltip.js
index 8377d0b8853..ddd88aa7220 100644
--- a/web/src/copied_tooltip.js
+++ b/web/src/copied_tooltip.js
@@ -2,9 +2,9 @@ import tippy from "tippy.js";
import {$t} from "./i18n";
-export function show_copied_confirmation($copy_button, on_hide_callback, timeout_in_ms = 1000) {
+export function show_copied_confirmation(copy_button, on_hide_callback, timeout_in_ms = 1000) {
// Display a tooltip to notify the user the message or code was copied.
- const instance = tippy($copy_button, {
+ const instance = tippy(copy_button, {
placement: "top",
appendTo: () => document.body,
onUntrigger() {