Merge branch 'master' into frontend-next

This commit is contained in:
Yukai Huang
2017-01-21 12:08:52 +08:00
8 changed files with 95 additions and 59 deletions

View File

@@ -1761,6 +1761,10 @@ ui.toolbar.uploadImage.bind('change', function (e) {
ui.toc.dropdown.click(function (e) {
e.stopPropagation();
});
// prevent empty link change hash
$('a[href="#"]').click(function (e) {
e.preventDefault();
});
//modal actions
var revisions = [];