it works on ipad, safari etc. / splash screen has a progress wheel
This commit is contained in:
@@ -26,7 +26,7 @@ var CartIcon = React.createClass({
|
||||
|
||||
var textNotificationStyle = (this.state.count > 0) ? { display: 'inline-block'} : { display: 'none'} ;
|
||||
|
||||
var large = (
|
||||
var large = (
|
||||
<div>
|
||||
<ul className="nav navbar-nav navbar-right hidden-md hidden-sm hidden-xs">
|
||||
<li onClick={this._onClick} style={{borderTop: 'solid lightgray 1px', borderBottom: 'solid lightgray 1px', borderLeft: 'solid lightgray 1px', paddingBottom: 22}}><a ><div className="mycart"><span>{normalizeCount(this.state.count)}</span></div></a></li>
|
||||
|
||||
@@ -169,7 +169,7 @@ var CartPage = React.createClass({
|
||||
_onOrderClick: function () {
|
||||
NavigationActions.goToCheckout();
|
||||
},
|
||||
_onQuantityChange(itemId, e) {
|
||||
_onQuantityChange: function(itemId, e) {
|
||||
CartActions.setItemCount(itemId, e.target.value);
|
||||
},
|
||||
getInitialState: function () {
|
||||
|
||||
@@ -44,7 +44,9 @@ var RootApp = React.createClass({
|
||||
render: function() {
|
||||
|
||||
if (!this.state.isEverythingReadyToStartTheShow) {
|
||||
return (<div> <img height={50} src="https://res.cloudinary.com/du5pdibul/image/upload/v1428813560/logo_h5f9yp.png" /><div> se učitava. Budite strpljivi! </div></div>);
|
||||
return (<div> <img height={50} src="https://res.cloudinary.com/du5pdibul/image/upload/v1428813560/logo_h5f9yp.png" /><div> se učitava. Budite strpljivi! </div>
|
||||
<img height={50} src="https://res.cloudinary.com/du5pdibul/image/upload/v1434870249/progress_bar_idgtad.gif" />
|
||||
</div>);
|
||||
}
|
||||
|
||||
var cart = "";
|
||||
|
||||
Reference in New Issue
Block a user