File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- const script = document . createElement ( 'script' ) ;
4
- script . id = 'steamdb_market_script' ;
5
- script . type = 'text/javascript' ;
6
- script . src = GetLocalResource ( 'scripts/community/market_injected.js' ) ;
7
- document . documentElement . append ( script ) ;
3
+ const marketScript = document . createElement ( 'script' ) ;
4
+ marketScript . id = 'steamdb_market_script' ;
5
+ marketScript . type = 'text/javascript' ;
6
+ marketScript . src = GetLocalResource ( 'scripts/community/market_injected.js' ) ;
7
+ document . documentElement . append ( marketScript ) ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- const script = document . createElement ( 'script' ) ;
4
- script . id = 'steamdb_multibuy' ;
5
- script . type = 'text/javascript' ;
6
- script . src = GetLocalResource ( 'scripts/community/multibuy_injected.js' ) ;
7
- document . head . append ( script ) ;
3
+ const multibuyScript = document . createElement ( 'script' ) ;
4
+ multibuyScript . id = 'steamdb_multibuy' ;
5
+ multibuyScript . type = 'text/javascript' ;
6
+ multibuyScript . src = GetLocalResource ( 'scripts/community/multibuy_injected.js' ) ;
7
+ document . head . append ( multibuyScript ) ;
You can’t perform that action at this time.
0 commit comments