From 71d7b463795c86ee3d20e7355cfe4c5a8ad86b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 14 Oct 2020 13:13:22 +0300 Subject: [PATCH] Add a tooltip to the 'confirmation link' label Fixes: #436 --- CHANGELOG.md | 5 +++++ static/js/checks.js | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07d7c56e..45e7ad3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## v1.18.0-dev - Unreleased + +## Improvements +- Add a tooltip to the 'confirmation link' label (#436) + ## v1.17.0 - 2020-10-14 ## Improvements diff --git a/static/js/checks.js b/static/js/checks.js index 9413d135..88075f58 100644 --- a/static/js/checks.js +++ b/static/js/checks.js @@ -67,6 +67,11 @@ $(function () { return false; }); + $(".last-ping").tooltip({ + selector: ".label-confirmation", + title: 'The word "confirm" found in request body' + }); + function applyFilters() { // Make a list of currently checked tags: var checked = []; @@ -177,7 +182,6 @@ $(function () { $(this).removeClass("confirm").tooltip("hide"); }); - $('[data-toggle="tooltip"]').tooltip({ html: true, container: "body",