mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
fix #2768
This commit is contained in:
parent
b9bf155a30
commit
9ac4dc9f81
1 changed files with 1 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue