diff --git a/app/dashboard/templates/dashboard/index.html b/app/dashboard/templates/dashboard/index.html
index c5652343..0c6aec09 100644
--- a/app/dashboard/templates/dashboard/index.html
+++ b/app/dashboard/templates/dashboard/index.html
@@ -215,15 +215,6 @@
localStorage.setItem("introShown", "yes")
}
- clipboard.on('success', function (e) {
- notie.alert({
- type: "success",
- text: "Copied to clipboard",
- time: 1,
- });
-
- e.clearSelection();
- });
$(".delete-email").on("click", function (e) {
notie.confirm({
diff --git a/app/developer/templates/developer/client_detail.html b/app/developer/templates/developer/client_detail.html
index f60a4e90..9f801e13 100644
--- a/app/developer/templates/developer/client_detail.html
+++ b/app/developer/templates/developer/client_detail.html
@@ -112,7 +112,6 @@
-
@@ -177,16 +176,5 @@
currentElement.parent().parent().remove();
});
- var clipboard = new ClipboardJS('.clipboard');
-
- clipboard.on('success', function (e) {
- notie.alert({
- type: "success",
- text: "Copied to clipboard",
- time: 2,
- });
-
- e.clearSelection();
- });
{% endblock %}
diff --git a/app/developer/templates/developer/index.html b/app/developer/templates/developer/index.html
index 9c32524d..42bfc0cc 100644
--- a/app/developer/templates/developer/index.html
+++ b/app/developer/templates/developer/index.html
@@ -104,18 +104,6 @@
{% block script %}
-{% endblock %}
\ No newline at end of file
diff --git a/app/developer/templates/developer/steps/step-implicit-flow.html b/app/developer/templates/developer/steps/step-implicit-flow.html
index e1529d3f..bc948f07 100644
--- a/app/developer/templates/developer/steps/step-implicit-flow.html
+++ b/app/developer/templates/developer/steps/step-implicit-flow.html
@@ -85,19 +85,3 @@
{% endblock %}
-
-{% block script %}
-
-{% endblock %}
\ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
index 6f9d2d84..8e4bc442 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -105,6 +105,18 @@
overlayClickDismiss: false,
});
+ var clipboard = new ClipboardJS('.clipboard');
+
+ clipboard.on('success', function (e) {
+ notie.alert({
+ type: "success",
+ text: "Copied to clipboard",
+ time: 2,
+ });
+
+ e.clearSelection();
+ });
+