Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

todo_widget: Replace obsolete <strike> element.

Anders Kaseorgc23cd837a001
diff --git a/web/src/info_overlay.ts b/web/src/info_overlay.ts
index 76d471458b8..678fcb4d231 100644
--- a/web/src/info_overlay.ts
+++ b/web/src/info_overlay.ts
@@ -212,7 +212,7 @@ Last task`,
<span class="rendered-checkbox"></span>
</div>
<div>
- <strike><strong>Task 1:</strong> This is the first task.</strike>
+ <s><strong>Task 1:</strong> This is the first task.</s>
</div>
</label>
</li>
diff --git a/web/templates/widgets/todo_widget_tasks.hbs b/web/templates/widgets/todo_widget_tasks.hbs
index 5f2a51f688c..b7a7dda8476 100644
--- a/web/templates/widgets/todo_widget_tasks.hbs
+++ b/web/templates/widgets/todo_widget_tasks.hbs
@@ -7,7 +7,7 @@
</div>
<div class="todo-task">
{{#if completed}}
- <strike><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</strike>
+ <s><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</s>
{{else}}
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
{{/if}}