mw.Feedback: Remove weird unnecessary switch statements
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 19 Dec 2017 18:48:05 +0000 (19:48 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 19 Dec 2017 19:45:40 +0000 (20:45 +0100)
commit2fb365e2e8ef5eb83399edffcba4ad5151118cd9
tree76dd0b5a62d30a8bb308f2f4b9e9b6fc3ff73f5d
parent13df3d2290ba2836ad14e7de664a2671952c5ddb
mw.Feedback: Remove weird unnecessary switch statements

They made sense prior to 7196fafcdcbe658caf9ffde508717714b9cf4510,
but no longer do since the success and error handling are in different
functions. I probably should have removed them in that commit.

Change-Id: I1167dc1b5a79eadfe607abfc73bd2f0e95194b78
resources/src/mediawiki/mediawiki.feedback.js