HomePhabricator

Don't swap link cards when opening the link of the card behind

Authored by santhosh.

Description

Don't swap link cards when opening the link of the card behind

Link cards are presented usually in pairs. Although the card in front
represents the main action (add/remove link in the translation),
it is possible to explore the card behind by either hovering
(the card behind is temporary revealed allowing to click on the link
to open it) or clicking on the card (cards switch positions).
The problem is that when the link from the card behind it is opened,
the click event propagates to the whole card and the cards are also swapped.
Cards should be only swapped when clicking on the card behind except when clicking on the link.

Bug: T106595
Change-Id: I0873eb77b082c06004718a6e7b737d1a9fa97062

Details

Committed
Amire80Jul 27 2015, 9:50 AM
Parents
rECTX686316ec6573: Fix JSCS errors
Branches
Unknown
Tags
Unknown
References
refs/changes/78/227178/2
ChangeId
I0873eb77b082c06004718a6e7b737d1a9fa97062