From 404b9220b8e65d7fbb008109d48704b062c84f89 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 3 Jul 2018 17:36:34 -0600 Subject: [PATCH] Remove href from anchors wrapping .sw-text, fix issue #33 --- static/js/editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/editor.js b/static/js/editor.js index 4c27871..7179510 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -77,6 +77,7 @@ $(document).ready(function () { var text = $(this).text().trim(); var component = $(this).data("component"); $(this).html(""); + $(this).closest("a").removeAttr("href"); // Issue #33 }); $(".sw-complex").each(function () {