Revert "don't explode if state.movingText is null."
This reverts commit 88450055e2
.
This commit is contained in:
Родитель
88450055e2
Коммит
87799dc536
|
@ -21,11 +21,6 @@ define(function(require) {
|
|||
}.bind(this));
|
||||
hammer.on('panend', function(e) {
|
||||
var movingText = this.state.movingText;
|
||||
if (!movingText) {
|
||||
// Not sure how this can happen, but apparently it does...
|
||||
console.log("state.movingText is null, how odd.");
|
||||
return;
|
||||
}
|
||||
this.props.firebaseRef.update({
|
||||
x: movingText.x,
|
||||
y: movingText.y
|
||||
|
|
Загрузка…
Ссылка в новой задаче