this fixes sticky popup on FF

pull/2/head
gorhill 10 years ago
parent ddaa948cf4
commit cd13d2870b

@ -1128,15 +1128,7 @@ function gotoExtensionURL() {
if ( url ) { if ( url ) {
messager.send({ what: 'gotoExtensionURL', url: url }); messager.send({ what: 'gotoExtensionURL', url: url });
} }
} vAPI.closePopup();
/******************************************************************************/
function gotoExternalURL() {
var url = this.getAttribute('data-external-url');
if ( url ) {
messager.send({ what: 'gotoURL', url: url });
}
} }
/******************************************************************************/ /******************************************************************************/
@ -1220,7 +1212,6 @@ uDom.onLoad(function() {
uDom('#buttonRevertAll').on('click', revertAll); uDom('#buttonRevertAll').on('click', revertAll);
uDom('#buttonReload').on('click', buttonReloadHandler); uDom('#buttonReload').on('click', buttonReloadHandler);
uDom('.extensionURL').on('click', gotoExtensionURL); uDom('.extensionURL').on('click', gotoExtensionURL);
uDom('.externalURL').on('click', gotoExternalURL);
uDom('body').on('click', '.dropdown-menu-button', dropDownMenuShow); uDom('body').on('click', '.dropdown-menu-button', dropDownMenuShow);
uDom('body').on('click', '.dropdown-menu-capture', dropDownMenuHide); uDom('body').on('click', '.dropdown-menu-capture', dropDownMenuHide);

Loading…
Cancel
Save