File tree Expand file tree Collapse file tree 4 files changed +17
-13
lines changed
spa/farming/fixedInflation Expand file tree Collapse file tree 4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,15 @@ if ('WebSocket' in window) {
4545 scripts : requiredScripts ,
4646 callback : async function ( ) {
4747 await window . loadContext ( ) ;
48- if ( $ ( '.globalCatcher' ) . length > 0 ) {
49- return ReactDOM . render ( React . createElement ( Index ) , document . body ) ;
48+ try {
49+ if ( $ ( '.globalCatcher' ) . length > 0 ) {
50+ return ReactDOM . render ( React . createElement ( Index ) , document . body ) ;
51+ }
52+ var element = $ ( '.DFOElement' ) ;
53+ ( element . length !== 0 ? element : $ ( '.DFOList' ) ) . findReactComponent ( ) . forceUpdate ( ) ;
54+ } catch ( e ) {
55+ return oldOnMessage ( msg ) ;
5056 }
51- var element = $ ( '.DFOElement' ) ;
52- ( element . length !== 0 ? element : $ ( '.DFOList' ) ) . findReactComponent ( ) . forceUpdate ( ) ;
5357 }
5458 } ) ;
5559 }
Original file line number Diff line number Diff line change 11< html lang ="en ">
22
33< head >
4- < meta charset ="utf-8 " />
5- < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
6- < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
7- < meta content ="width=device-width, initial-scale=1 " name ="viewport " />
4+ < meta charset ="utf-8 "/>
5+ < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 "/>
6+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge "/>
7+ < meta content ="width=device-width, initial-scale=1 " name ="viewport "/>
88
9- < link type ="text/css " rel ="stylesheet " href ="assets/css/style.css " />
10-
11- < script src ="assets/scripts/script.js " type ="text/javascript "> </ script >
9+ < link type ="text/css " rel ="stylesheet " href ="assets/css/style.css "/>
1210
1311 < script src ="assets/plugins/extensions.js " type ="text/javascript "> </ script >
1412 < script src ="assets/plugins/jquery.min.js " type ="text/javascript "> </ script >
3634 < script src ="assets/plugins/react/react.module.manager.js " type ="text/javascript "> </ script >
3735 < script src ="assets/plugins/react/jquery.find.react.component.min.js " type ="text/javascript "> </ script >
3836
37+ < script src ="assets/scripts/script.js " type ="text/javascript "> </ script >
38+
3939 < script src ="spa/boot.js " type ="text/javascript "> </ script >
4040</ head >
4141
Original file line number Diff line number Diff line change 1- var FixedInflationEdit = React . createClass ( {
1+ var _FixedInflationEdit = React . createClass ( {
22 getInitialState ( ) {
33 var state = {
44 swapCouples : [ ] ,
Original file line number Diff line number Diff line change 1- var FixedInflationView = React . createClass ( {
1+ var _FixedInflationView = React . createClass ( {
22 requiredScripts : [
33 'spa/loaderMinimino.jsx' ,
44 'spa/farming/fixedInflation/edit.jsx'
You can’t perform that action at this time.
0 commit comments