Remove href from anchors wrapping .sw-text, fix issue #33
This commit is contained in:
parent
9887a96c74
commit
404b9220b8
@ -77,6 +77,7 @@ $(document).ready(function () {
|
||||
var text = $(this).text().trim();
|
||||
var component = $(this).data("component");
|
||||
$(this).html("<input type=\"text\" data-component=\"" + component + "\" class=\"sw-text-input\" value=\"" + text + "\" placeholder=\"Click to edit\">");
|
||||
$(this).closest("a").removeAttr("href"); // Issue #33
|
||||
});
|
||||
|
||||
$(".sw-complex").each(function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user