This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-13
lines changed
Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -419,13 +419,6 @@ h6, .h6 {
419419 - webkit- app- region: no- drag;
420420}
421421
422- # appBar .title {
423- /* since the loading spinners are centered in a manner
424- where chat is excluded from the width, we'll follow
425- suit here so our title is centered with the spinners */
426- width: calc(100% - 45px);
427- }
428-
429422# pageNav .btn {
430423 - webkit- app- region: no- drag;
431424}
@@ -4432,7 +4425,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
44324425 left: 0;
44334426 to p: 50%;
44344427 margin- to p: 117px;
4435- margin- left: -40px;
44364428 opacity: 1;
44374429 transition: opacity 1s 5s ease;
44384430 box- sizing: bor der- box;
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ module.exports = Backbone.Collection.extend({
1717 return [ ] ;
1818 }
1919
20- return response ;
20+ return response . reverse ( ) ;
2121 }
2222} ) ;
Original file line number Diff line number Diff line change @@ -444,8 +444,6 @@ module.exports = Backbone.Router.extend({
444444 } ,
445445
446446 settings : function ( state ) {
447- $ ( '.js-loadingModal' ) . addClass ( 'show' ) ;
448-
449447 this . newView ( settingsView , {
450448 viewArgs : {
451449 userModel : this . userModel ,
Original file line number Diff line number Diff line change @@ -527,8 +527,9 @@ module.exports = pageVw.extend({
527527
528528 //clear address bar
529529 window . obEventBus . trigger ( "setAddressBar" , { 'addressText' : "" } ) ;
530-
530+
531531 this . $el . find ( '.js-discoverHeading' ) . html ( window . polyglot . t ( 'Discover' ) ) ;
532+ this . $el . find ( '.js-homeListingToggle' ) . removeClass ( 'hide' ) ;
532533
533534 // change loading text copy
534535 this . $el . find ( '.js-loadingText' ) . html ( this . $el . find ( '.js-loadingText' ) . data ( 'defaultText' ) ) ;
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ module.exports = pageVw.extend({
6868
6969 initialize : function ( options ) {
7070 var self = this ;
71+
72+ $ ( '.js-loadingModal' ) . removeClass ( 'hide' ) ;
7173 this . options = options || { } ;
7274 /* expected options:
7375 userModel
@@ -175,14 +177,18 @@ module.exports = pageVw.extend({
175177 getBTPrice ( "USD" , function ( btAve , currencyList ) {
176178 self . availableCurrenciesList = currencyList ;
177179 self . render ( ) ;
178- $ ( '.js-loadingModal' ) . removeClass ( 'show' ) ;
179180 } ) ;
180181 }
181182 } ) ;
182183 } ,
183184 error : function ( model , response ) {
184185 console . log ( response ) ;
185186 messageModal . show ( window . polyglot . t ( 'errorMessages.getError' ) , window . polyglot . t ( 'errorMessages.userError' ) ) ;
187+ } ,
188+ complete : function ( ) {
189+ if ( ! self . isRemoved ( ) ) {
190+ $ ( '.js-loadingModal' ) . addClass ( 'hide' ) ;
191+ }
186192 }
187193 } ) ;
188194 } ,
You can’t perform that action at this time.
0 commit comments