first steps to removing iframe

This commit is contained in:
igoradamenko
2018-11-12 22:18:31 +02:00
parent 69167d0c95
commit 586b2d3df3
2 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ const querySettings =
return acc;
}, {}) || {};
export const siteId = querySettings['site_id'];
export const url = querySettings['url'];
export const maxShownComments = querySettings['max_shown_comments'];
export const siteId = remark_config.site_id;
export const url = remark_config.url;
export const maxShownComments = remark_config.max_shown_comments;
export const token = querySettings['token'];
+1 -2
View File
@@ -121,8 +121,7 @@ export default class Root extends Component {
`${BASE_URL}/auth/${provider}/login?from=${encodeURIComponent(
location.origin + location.pathname + '?selfClose'
)}&site=${siteId}`,
'_blank',
'height=300,width=300'
'_blank'
);
let secondsPass = 0;