File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
tests/automatic_tests/source-maps Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 34
34
devtools . WebInspector . SettingsController . prototype . showSettingsScreen ( ) ;
35
35
// source map feature must be enabled first
36
36
// We cannot to reload it automatically or it will crash
37
- if ( ! devtools . document . getElementsByName ( 'Enable source maps' ) [ 0 ] . checked ) {
38
- devtools . document . getElementsByName ( 'Enable source maps' ) [ 0 ] . checked = true ;
37
+ if ( ! devtools . document . getElementsByName ( 'Enable JS source maps' ) [ 0 ] . checked || ! devtools . document . getElementsByName ( 'Enable CSS source maps' ) [ 0 ] . checked ) {
38
+ devtools . document . getElementsByName ( 'Enable JS source maps' ) [ 0 ] . checked = true ;
39
+ devtools . document . getElementsByName ( 'Enable CSS source maps' ) [ 0 ] . checked = true ;
39
40
}
40
41
else {
41
42
// open scripts panel
You can’t perform that action at this time.
0 commit comments