File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,12 +323,12 @@ templates.resource_detail =
323323 ui_strings . S_RESOURCE_SENT_AND_GUESSED_TYPE
324324 . replace ( '%(SENT)' , info . mimeType )
325325 . replace ( '%(GUESSED)' , info . type )
326- + ( resource . data . meta ? ' (' + resource . data . meta + ')' : '' ) ,
326+ + ( info . characterEncoding && ' ' + ui_strings . S_RESOURCE_ENCODING . replace ( '%s' , info . characterEncoding ) ) ,
327327 'class' , 'resource-detail-overview-type' + ( isError ?' resource-detail-error' :'' )
328328 ] ,
329329 [ 'span' ,
330330 cls . ResourceUtil . bytes_to_human_readable ( info . size )
331- + ( info . characterEncoding && ' ' + ui_strings . S_RESOURCE_ENCODING . replace ( '%s' , info . characterEncoding ) ) ,
331+ + ( resource . data . meta ? ' (' + resource . data . meta + ')' : '' ) ,
332332 'data-tooltip' , 'js-script-select' ,
333333 'data-tooltip-text' , info . size + ' bytes' ,
334334 'class' , 'resource-detail-overview-size'
You can’t perform that action at this time.
0 commit comments