File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SdRoot/edit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 377
377
var leaf = document . createElement ( "li" ) ;
378
378
leaf . id = ( ( ( path == "/" ) ?"" :path ) + "/" + name ) . toLowerCase ( ) ;
379
379
var label = document . createElement ( "span" ) ;
380
- label . innerText = name . toLowerCase ( ) ;
380
+ label . textContent = name . toLowerCase ( ) ;
381
381
leaf . appendChild ( label ) ;
382
382
leaf . onclick = function ( e ) {
383
383
if ( isTextFile ( leaf . id ) ) {
403
403
leaf . appendChild ( check ) ;
404
404
var label = document . createElement ( "label" ) ;
405
405
label . for = check . id ;
406
- label . innerText = name . toLowerCase ( ) ;
406
+ label . textContent = name . toLowerCase ( ) ;
407
407
leaf . appendChild ( label ) ;
408
408
check . onchange = function ( e ) {
409
409
if ( check . checked ) {
You can’t perform that action at this time.
0 commit comments