From 464248d34122b26b0a6fc6157aac11565f2ccb7b Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Sun, 15 Sep 2013 01:22:10 +0300 Subject: [PATCH] [ticket/11552] Tooltips for breadcrumbs PHPBB3-11552 --- phpBB/styles/prosilver/template/forum_fn.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index fca0f0d701..f24ef6886d 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -481,6 +481,12 @@ function insert_single_user(formId, user) maxHeight = $this.height() + 1; $this.css('white-space', ''); + // Set tooltips + $this.find('a').each(function() { + var $link = $(this); + $link.attr('title', $link.text()); + }); + // Funciton that checks breadcrumbs function check() { var height = $this.height(),