From 706da447d759cc91d8f2ec5aa4eddc71bfd4ef24 Mon Sep 17 00:00:00 2001 From: Arjun Singh Yadav Date: Mon, 28 Jun 2021 20:44:12 +0530 Subject: [PATCH] fix: change buttons in wiki modal to anchor tags The action buttons in wiki modal have href attribute but do not have an event listener for click. This PR changes the buttons to anchor tags so that they work as expected when clicked. --- lms/templates/wiki/history.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lms/templates/wiki/history.html b/lms/templates/wiki/history.html index f0a0d87253..71a9c314e4 100644 --- a/lms/templates/wiki/history.html +++ b/lms/templates/wiki/history.html @@ -215,15 +215,15 @@ {% trans "Back to history view" as tmsg %}{{tmsg|force_escape}} {% if article|can_write:user %} - + {% else %} - + {% endif %} @@ -250,15 +250,15 @@ {% trans "Back to history view" as tmsg%}{{tmsg|force_escape}} {% if article|can_write:user %} - + {% else %} - + {% endif %}