File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/frontend/js/app/nginx Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ module.exports = Mn.View.extend({
5959 data . ssl_forced = true ;
6060 }
6161
62- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
63- data . http2_support = true ;
62+ if ( typeof data . http2_support !== 'undefined' ) {
63+ data . http2_support = ! ! data . http2_support ;
6464 }
6565
6666 if ( typeof data . domain_names === 'string' && data . domain_names ) {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ module.exports = Mn.View.extend({
4444 . parents ( '.form-group' )
4545 . css ( 'opacity' , enabled ? 1 : 0.5 ) ;
4646
47- this . ui . http2_support . prop ( 'disabled' , ! enabled )
47+ this . ui . http2_support . prop ( 'disabled' , ! enabled ) ;
4848 } ,
4949
5050 'click @ui.save' : function ( e ) {
@@ -68,8 +68,8 @@ module.exports = Mn.View.extend({
6868 data . ssl_forced = true ;
6969 }
7070
71- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
72- data . http2_support = true ;
71+ if ( typeof data . http2_support !== 'undefined' ) {
72+ data . http2_support = ! ! data . http2_support ;
7373 }
7474
7575 if ( typeof data . domain_names === 'string' && data . domain_names ) {
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ module.exports = Mn.View.extend({
6262 data . ssl_forced = true ;
6363 }
6464
65- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
66- data . http2_support = true ;
65+ if ( typeof data . http2_support !== 'undefined' ) {
66+ data . http2_support = ! ! data . http2_support ;
6767 }
6868
6969 if ( typeof data . domain_names === 'string' && data . domain_names ) {
You can’t perform that action at this time.
0 commit comments