mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
parent
6f9c16a7a5
commit
9a037fda81
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ var Explore = injectIntl(React.createClass({
|
||||||
window.location = window.location.origin + '/explore/' + newType + '/' + this.props.tab;
|
window.location = window.location.origin + '/explore/' + newType + '/' + this.props.tab;
|
||||||
},
|
},
|
||||||
getBubble: function (type) {
|
getBubble: function (type) {
|
||||||
let classes = classNames({
|
var classes = classNames({
|
||||||
active: (this.props.category === type)
|
active: (this.props.category === type)
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
|
@ -98,7 +98,7 @@ var Explore = injectIntl(React.createClass({
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
getTab: function (type) {
|
getTab: function (type) {
|
||||||
let classes = classNames({
|
var classes = classNames({
|
||||||
active: (this.props.itemType === type)
|
active: (this.props.itemType === type)
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue