Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 9a6b6f3

Browse files
fix: all other links + homepage changes
1 parent a91aa59 commit 9a6b6f3

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/cashier/deposit.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function init_state(root) {
101101
list: [],
102102
current: {},
103103
},
104-
binary_url: getBinaryUrl('payment-agent.html'),
104+
binary_url: getBinaryUrl('payment-agent'),
105105
};
106106

107107
state.route.update = route => { state.route.value = route; };

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ var params_str = href.indexOf('#') != -1 ? href.split('#')[1] : href.split('?')[
1111
var lang = (params_str && params_str.match(/lang=[a-zA-Z]+/g) || []).map(function (val) { return val.split('=')[1] })[0] ||
1212
(local_storage.get('i18n') && local_storage.get('i18n').value) || 'en';
1313

14-
contact_us_el.href = getBinaryUrl('contact.html');
15-
logo_el.href = getBinaryUrl('home.html');
14+
contact_us_el.href = getBinaryUrl('contact');
15+
logo_el.href = getBinaryUrl('home');
1616

1717
checkRedirectToken(params_str);
1818

src/navigation/navigation.es6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const initLoginButton = (root) => {
170170
const lockedIds = _.filter(loginIds, { s_disabled:true }).map(acc => acc.id).join(',');
171171
$.growl.error({
172172
fixed: true,
173-
message:`<a href='${getBinaryUrl('contact.html')}' target='_blank'>
173+
message:`<a href='${getBinaryUrl('contact')}' target='_blank'>
174174
${'Your account (%) is locked, please contact customer support for more info.'.i18n().replace('%', lockedIds)}
175175
</a>`
176176
});
@@ -237,8 +237,8 @@ const initLang = (root) => {
237237
const contact_us_el = document.getElementById('contact-us');
238238
const logo_container = document.getElementById('logo-container');
239239

240-
contact_us_el.href = getBinaryUrl('contact.html');
241-
logo_container.href = getBinaryUrl('home.html');
240+
contact_us_el.href = getBinaryUrl('contact');
241+
logo_container.href = getBinaryUrl('home');
242242

243243
rv.bind(root[0], state);
244244

src/oauth/login.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const init_state = (root, win) => {
6868
login();
6969
},
7070
onRegister: () => {
71-
const register_link = getBinaryUrl('home.html');
71+
const register_link = getBinaryUrl('home');
7272
window.open(register_link, '_blank');
7373
},
7474
};

src/selfexclusion/selfexclusion.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const settingsData = {
9090
is_gamstop_client: null,
9191
timeout_until_date: null,
9292
timeout_until_time: null,
93-
binary_url_contact: getBinaryUrl('contact.html'),
93+
binary_url_contact: getBinaryUrl('contact'),
9494
trimString: (event, scope) => {
9595
const $el = $(event.target),
9696
decimals = currencyFractionalDigits(),

src/tc/tc.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const init = () => {
5252
//This helps in showing multiple dialog windows in modal form
5353
$('body').append(win.dialog('widget'));
5454
win.dialog('open');
55-
const binary_url_tc = getBinaryUrl('terms-and-conditions.html');
55+
const binary_url_tc = getBinaryUrl('terms-and-conditions');
5656
Array.from(document.getElementsByClassName('tc-link')).forEach((a_el) => a_el.href = binary_url_tc);
5757
}
5858
}

0 commit comments

Comments
 (0)