add: unperform clue action

This commit is contained in:
Felix Niklas 2015-06-03 14:03:15 +02:00
parent 890cf7839b
commit 0b726a41d4

View file

@ -991,7 +991,9 @@ class cluesRef extends App.ControllerContent
container = $(clue.container) container = $(clue.container)
container.removeClass('selected-clue') container.removeClass('selected-clue')
# maybe undo perform # undo click perform by doing it again
if clue.action
@perform clue.action, container
@el.find('.clue').remove() @el.find('.clue').remove()