String format 확장 제거

This commit is contained in:
2021-08-27 03:53:15 +09:00
parent 4f1f87bda0
commit def0a52578
9 changed files with 41 additions and 44 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ function drawServerAdminList(serverList: ServerStateResponse) {
console.log(server);
let status: string;
if (!server.valid) {
status = '에러, {0}'.format(server.reason);
status = `에러, ${server.reason}`;
}
else if (!server.run) {
status = '폐쇄됨';
+1 -1
View File
@@ -285,7 +285,7 @@ $(function ($) {
$map.find('.card').css('width', targetWidth);
$map.find('.map-container').css({
'transform-origin': 'top left',
'transform': 'scale({0}, {0})'.format(scale),
'transform': `scale(${scale}, ${scale})`,
'height': 500 * scale,
});
$map.find('.map_body').data('scale', scale);