$.wikibase.toolbarbutton: Fixed action handling

Change-Id: Ie347aca537aabceb44bbb5b8991e99ba9b0e5cc2
Merge "$.wikibase.toolbarbutton: Fixed action handling"