Disable links when editing
This commit is contained in:
parent
a718bba8be
commit
2ffcbae489
@ -32,6 +32,10 @@ function saveEdits() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
$('a').click(function (e) {
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
$("body").append("<link href=\"" + static_dir + "/css/editor.css\" rel=\"stylesheet\" />");
|
$("body").append("<link href=\"" + static_dir + "/css/editor.css\" rel=\"stylesheet\" />");
|
||||||
|
|
||||||
$(".sw-editable").each(function () {
|
$(".sw-editable").each(function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user