mirror of https://github.com/gorhill/uBlock.git
code review for last commit: we want to keep namespacing though
This commit is contained in:
parent
528354f594
commit
bfcf0e0bfe
|
@ -837,6 +837,7 @@ var onHideTooltip = function() {
|
||||||
// Popup DOM is assumed to be loaded at this point -- because this script
|
// Popup DOM is assumed to be loaded at this point -- because this script
|
||||||
// is loaded after everything else..
|
// is loaded after everything else..
|
||||||
|
|
||||||
|
(function() {
|
||||||
// If there's no tab id specified in the query string,
|
// If there's no tab id specified in the query string,
|
||||||
// it will default to current tab.
|
// it will default to current tab.
|
||||||
var tabId = null;
|
var tabId = null;
|
||||||
|
@ -860,6 +861,7 @@ uDom('[data-i18n="popupAnyRulePrompt"]').on('click', toggleMinimize);
|
||||||
|
|
||||||
uDom('body').on('mouseenter', '[data-tip]', onShowTooltip)
|
uDom('body').on('mouseenter', '[data-tip]', onShowTooltip)
|
||||||
.on('mouseleave', '[data-tip]', onHideTooltip);
|
.on('mouseleave', '[data-tip]', onHideTooltip);
|
||||||
|
})();
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue