This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ; } ;
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ var params_str = href.indexOf('#') != -1 ? href.split('#')[1] : href.split('?')[
1111var lang = ( params_str && params_str . match ( / l a n g = [ a - z A - 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
1717checkRedirectToken ( params_str ) ;
1818
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 } ;
Original file line number Diff line number Diff 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 ( ) ,
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments