mediawiki.action.view.dblClickEdit: Move preventDefault()
authorFomafix <fomafix@googlemail.com>
Tue, 28 May 2019 18:10:48 +0000 (20:10 +0200)
committerFomafix <fomafix@googlemail.com>
Tue, 28 May 2019 18:14:16 +0000 (20:14 +0200)
commit5267844eea035669aa3c2e597a468e6b9ee44fb2
tree37acefd1669088b4accc15f057c6312853883603
parent2c3694463a02bae9102bfe76b8baeafb924d33a8
mediawiki.action.view.dblClickEdit: Move preventDefault()

Move the preventDefault() into the if-condition to trigger the
preventDefault() only together with the click() trigger.

Change-Id: Icde2187248b8b18cd4fd5085a92d840e1f77b00d
resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js