window.location.search hand through for addon configuration pages

This commit is contained in:
hobbyquaker 2018-07-21 22:53:40 +02:00
parent be4a23bd06
commit cc45e7d034
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.attr('data-addon-config-url', addon.config_url)
.append($('<i class="setting icon">'), i18next.t('open_config'));
bconfig.click(function() {
var win = window.open(this.getAttribute('data-addon-config-url'), '_blank');
var win = window.open(this.getAttribute('data-addon-config-url') + window.location.search, '_blank');
win.focus();
});