File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,11 @@ $(function() {
4343                description  =  lsname ; 
4444                menu  =  saveActionCreate ( i ) ; 
4545            } 
46+             description  =  $ ( '<div>' ) . text ( description ) . html ( ) ; 
4647            if  ( settings [ 'numeric_keys' ] )  { 
47-                 description  =  i   +   ': '   +   description ; 
48+                 description  =  `<b> ${ i } :</b>  ${ description } ` ; 
4849            } 
49-             btn . text ( description ) ; 
50+             btn . html ( description ) ; 
5051            li . append ( btn ) ; 
5152            if  ( menu )  li . append ( menu ) ; 
5253            $ ( '#saveslots' ) . find ( '.list-group' ) . append ( li ) ; 
@@ -203,11 +204,11 @@ $(function() {
203204                btn . text ( i18next . t ( 'empty_save_slot' ) ) . prop ( 'disabled' ,  true ) ; 
204205                menu  =  null ; 
205206            }  else  { 
206-                 var  description  =  lsname ; 
207+                 var  description  =  $ ( '<div>' ) . text ( lsname ) . html ( ) ; 
207208                if  ( settings [ 'numeric_keys' ] )  { 
208-                     description  =  i   +   ': '   +   description ; 
209+                     description  =  `<b> ${ i } :</b>  ${ description } ` ; 
209210                } 
210-                 btn . text ( description ) ; 
211+                 btn . html ( description ) ; 
211212                menu  =  saveActionCreate ( i ) ; 
212213            } 
213214            li . append ( btn ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments