Merge pull request #10 from hobbyquaker/master

window.location.search hand through for addon configuration pages
This commit is contained in:
j-a-n 2018-07-21 23:07:42 +02:00 committed by GitHub
commit eea2867af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
});