mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/6466] Improve code in tooltip.js
PHPBB3-6466
This commit is contained in:
parent
120600e055
commit
c8bb0fd241
1 changed files with 1 additions and 3 deletions
|
@ -93,8 +93,6 @@ phpbb.showTooltip = function ($element) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hide tooltip
|
* Hide tooltip
|
||||||
*
|
|
||||||
* @param {object} $element Element passed by .on()
|
|
||||||
*/
|
*/
|
||||||
phpbb.hideTooltip = function () {
|
phpbb.hideTooltip = function () {
|
||||||
var d = document.getElementById('_tooltip_container');
|
var d = document.getElementById('_tooltip_container');
|
||||||
|
@ -142,7 +140,7 @@ phpbb.prepareRolesDropdown = function () {
|
||||||
var $options = $('.roles-options li');
|
var $options = $('.roles-options li');
|
||||||
|
|
||||||
// Prepare highlighting of select options and settings update
|
// Prepare highlighting of select options and settings update
|
||||||
$options.each(function (element) {
|
$options.each(function () {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var $roles_options = $this.closest('.roles-options');
|
var $roles_options = $this.closest('.roles-options');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue