Fixed showdown.js

This commit is contained in:
Achilles Rasquinha 2018-01-23 13:18:54 +05:30
parent 17d334a5ff
commit f1f91e44a9
2 changed files with 4 additions and 2 deletions

View file

@ -237,7 +237,7 @@ frappe.ui.toolbar.Toolbar = Class.extend({
if(href.indexOf('blob') > 0) {
window.open(href, '_blank');
}
var converter = new showdown.Converter();
var path = $(e.target).attr("data-path");
if(path) {
e.preventDefault();

File diff suppressed because one or more lines are too long