Rebuild JavaScript
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 12:36:32 +0000 (14:36 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 12:36:32 +0000 (14:36 +0200)
see 33e803caa3e934a078a240687d452f54825379d9

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js

index e7482243b4bfe4543ee6f76662f8d245d0681e6d..25677e3d2dc2efcfaaf8318943c09410aef22dbb 100644 (file)
@@ -364,7 +364,7 @@ define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Ch
             this._closePopover();
         }
         _ajaxSuccess(data) {
-            const objectId = ~data.returnValues.objectID;
+            const objectId = ~~data.returnValues.objectID;
             this.countButtons.updateCountButtons(objectId, data.returnValues.reactions);
             this._updateReactButton(objectId, data.returnValues.reactionTypeID);
         }