String format 확장 제거
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user