code review for last commit: we want to keep namespacing though

This commit is contained in:
gorhill 2015-08-01 11:34:31 -04:00
parent 528354f594
commit bfcf0e0bfe
1 changed files with 22 additions and 20 deletions

View File

@ -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);
})();
/******************************************************************************/ /******************************************************************************/