From 40adf6defd02c351c66ef8a94de8195bb8b5a5a5 Mon Sep 17 00:00:00 2001 From: Simeon Naydenov Date: Mon, 19 Apr 2021 22:37:41 +0300 Subject: [PATCH] MDL-71375 lib: Fix tooltip in show_hide_icon in flexible table --- lib/tablelib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index be904c2d766..dd965323a92 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -1188,7 +1188,7 @@ class flexible_table { 'data-action' => 'show', 'data-column' => $column); return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_SHOW] => $column)), - $OUTPUT->pix_icon('t/switch_plus', get_string('show')), $linkattributes); + $OUTPUT->pix_icon('t/switch_plus', null), $linkattributes); } else if ($this->headers[$index] !== NULL) { $linkattributes = array('title' => get_string('hide') . ' ' . strip_tags($this->headers[$index]), @@ -1197,7 +1197,7 @@ class flexible_table { 'data-action' => 'hide', 'data-column' => $column); return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_HIDE] => $column)), - $OUTPUT->pix_icon('t/switch_minus', get_string('hide')), $linkattributes); + $OUTPUT->pix_icon('t/switch_minus', null), $linkattributes); } }