open tos in a new tab

This commit is contained in:
ansuz 2021-04-09 13:35:37 +05:30
parent 0bc63bff1f
commit 84241c5bb9
1 changed files with 2 additions and 1 deletions

View File

@ -9,9 +9,10 @@ define([
return function () {
var urlArgs = Config.requireConf.urlArgs;
var tos = $(UI.createCheckbox('accept-terms')).find('.cp-checkmark-label').append(Msg.register_acceptTerms).parent()[0]
var tos = $(UI.createCheckbox('accept-terms')).find('.cp-checkmark-label').append(Msg.register_acceptTerms).parent()[0];
$(tos).find('a').attr({
href: '/terms.html',
target: '_blank',
tabindex: '-1',
});