Skip to content
Snippets Groups Projects
Commit 8fa34d79 authored by Feanil Patel's avatar Feanil Patel
Browse files

fix: Text comparison should be done with `==` not via is.

`is` will check if two objects are the same whereas `==` will check if
their values are the same which is what we want here.
parent 02c46fc0
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
<span class="notification-message" aria-describedby="${ short_id }-problem-title">${notification_message}
</span>
<div class="notification-btn-wrapper">
% if notification_name is 'hint':
% if notification_name == 'hint':
<button type="button" class="btn btn-default btn-small notification-btn hint-button">
${_('Next Hint')}
</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment