|
|
@ -77,6 +77,7 @@ $(document).ready(function () {
|
|
|
|
var text = $(this).text().trim();
|
|
|
|
var text = $(this).text().trim();
|
|
|
|
var component = $(this).data("component");
|
|
|
|
var component = $(this).data("component");
|
|
|
|
$(this).html("<input type=\"text\" data-component=\"" + component + "\" class=\"sw-text-input\" value=\"" + text + "\" placeholder=\"Click to edit\">");
|
|
|
|
$(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 () {
|
|
|
|
$(".sw-complex").each(function () {
|
|
|
|