This commit is contained in:
gorhill 2017-07-07 11:23:24 -04:00
parent b9bf155a30
commit 9ac4dc9f81
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -1009,20 +1009,7 @@ var onHideTooltip = function() {
uDom('body').on('mouseenter', '[data-tip]', onShowTooltip)
.on('mouseleave', '[data-tip]', onHideTooltip);
// https://github.com/gorhill/uBlock/issues/2734
// Workaround until fixed in Firefox Nightly.
if (
self.chrome instanceof Object === false ||
typeof chrome.runtime.getBrowserInfo !== 'function'
) {
uDom('a[href]').on('click', gotoURL);
} else {
chrome.runtime.getBrowserInfo().then(function(info) {
if ( info.name !== 'Firefox' ) {
uDom('a[href]').on('click', gotoURL);
}
});
}
})();
/******************************************************************************/