1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

minor fix

This commit is contained in:
Tim Daubenschütz 2015-09-10 16:20:14 +02:00
parent 82b9b68338
commit 4101cd70ed

View File

@ -31,7 +31,7 @@ let SlidesContainer = React.createClass({
// We can actually need to check if slide_num is present as a key in queryParams.
// We do not really care about its value though...
if(queryParams && 'slide_num' in queryParams.slide_num) {
if(queryParams && 'slide_num' in queryParams) {
slideNum = parseInt(queryParams.slide_num, 10);
}
// if slide_num is not set, this will be done in componentDidMount