diff --git a/src/accountstatus/accountstatus.es6 b/src/accountstatus/accountstatus.es6
index 87215d1b7b..482eec17e1 100644
--- a/src/accountstatus/accountstatus.es6
+++ b/src/accountstatus/accountstatus.es6
@@ -43,7 +43,7 @@ class AccountStatus {
this.financial_assessment_submitted = true;
this.is_mlt = /^malta$/gi.test(response.authorize.landing_company_name);
this.is_mf = /^maltainvest$/gi.test(response.authorize.landing_company_name);
- this.is_cr = /^costarica$/gi.test(response.authorize.landing_company_name);
+ this.is_cr = /^svg|costarica$/gi.test(response.authorize.landing_company_name);
this.has_mt5_account = mt5_account.mt5_login_list.length > 0;
this.is_authenticated = !account_status.get_account_status.prompt_client_to_authenticate;
// Check whether the user has accepted the T&C.
diff --git a/src/copytrade/copytrade.es6 b/src/copytrade/copytrade.es6
index c987c498f2..39a060223e 100644
--- a/src/copytrade/copytrade.es6
+++ b/src/copytrade/copytrade.es6
@@ -44,7 +44,7 @@ const defaultTraderDetails = (traderApiToken, loginid) => ({
const validate_min_max_stake = (yourCopySettingsData) => {
const { min_trade_stake, max_trade_stake } = yourCopySettingsData;
- if (min_trade_stake > max_trade_stake) {
+ if (+min_trade_stake > +max_trade_stake) {
return false;
}
return true;
diff --git a/src/images/google-plus.svg b/src/images/google-plus.svg
deleted file mode 100644
index 2ee6a6596b..0000000000
--- a/src/images/google-plus.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/index.html b/src/index.html
index 3da8f5aefe..58c8359ddd 100755
--- a/src/index.html
+++ b/src/index.html
@@ -16,6 +16,7 @@
+
@@ -106,9 +107,6 @@
Welcome to Binary.com Webtrader
-
-
-
diff --git a/src/index.js b/src/index.js
index da5d68d766..e9bcf62421 100644
--- a/src/index.js
+++ b/src/index.js
@@ -19,6 +19,8 @@ checkRedirectToken(params_str);
setLanguage(lang);
clearUrlQuerystring(href);
+checkWindowSize();
+
processPageLanguage();
function loadAppId(callback) {
@@ -107,6 +109,13 @@ function checkRedirectToken(params_str) {
}
}
+function checkWindowSize() {
+ if (isSmallView()) {
+ window.location.assign(VERSION + 'unsupported_browsers/unsupported_browsers.html');
+ return;
+ }
+}
+
function setTime() {
var time = moment.utc().format('YYYY-MM-DD HH:mm:ss') + ' GMT';
$(".time").text(time);
diff --git a/src/index.scss b/src/index.scss
index 0540f651ed..c4b7cd97d5 100644
--- a/src/index.scss
+++ b/src/index.scss
@@ -141,11 +141,13 @@ body {
&__regulatory-icons {
display: flex;
align-items: center;
+ max-width: 400px;
> * {
margin-right: 20px;
}
@media screen and (max-width: 800px) {
+ max-width: 800px;
margin-top: 50px;
margin-bottom: 30ox;
justify-content: center;
diff --git a/src/navigation/navigation.es6 b/src/navigation/navigation.es6
index 1dcb3e4570..43545f50d7 100644
--- a/src/navigation/navigation.es6
+++ b/src/navigation/navigation.es6
@@ -273,7 +273,7 @@ const initLang = (root) => {
b: has MLT, MX ==> do nothing
4: company shortcode == japan
a: do nothing and show an error message
- 5: shortcode = costarica
+ 5: shortcode = svg
a: No currency
I: Do nothing.
b: Fiat currency && Not all crypto currency account
diff --git a/src/unsupported_browsers/unsupported_browsers.html b/src/unsupported_browsers/unsupported_browsers.html
index 91453e398f..477844189c 100755
--- a/src/unsupported_browsers/unsupported_browsers.html
+++ b/src/unsupported_browsers/unsupported_browsers.html
@@ -9,7 +9,7 @@
-
+