postEdit: Simplify close button
authorFomafix <fomafix@googlemail.com>
Sun, 27 Aug 2017 16:45:25 +0000 (18:45 +0200)
committerFomafix <fomafix@googlemail.com>
Sun, 27 Aug 2017 17:22:05 +0000 (19:22 +0200)
commit060d6719845bc7c517263fc8350dc636401f37cd
tree7df0311c6f68f0b7bcd976bf40bc442e8786aa4c
parentee1472e0dba0ea8718f85b2c737f8cc83d15e9ec
postEdit: Simplify close button

Use <span> instead of <a href="#"> for the close button. This makes
resetting the CSS style and the preventDefault() superfluous and
prevents open a new tab on middle click and does not show an
unnecessary status bar on hover.

Change-Id: I8c60aae454d64803686088f1dbe0228b1ecc70be
resources/src/mediawiki.action/mediawiki.action.view.postEdit.js
resources/src/mediawiki.action/mediawiki.action.view.postEdit.less