Skip to content

Commit

Permalink
fixes issue sugarlabs#3066 - to remove arrows on dismissing error mes…
Browse files Browse the repository at this point in the history
…sage (sugarlabs#3222)

* fixes issue sugarlabs#3066 - dismissing an error message removeArrow() is not found

* fixes issue sugarlabs#3066
  • Loading branch information
shahkushal38 authored and Ashnidh committed Mar 25, 2023
1 parent b8036a1 commit 0ecd48c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ class Activity {
// Error message containers
this.errorText = docById("errorText");
this.errorTextContent = docById("errorTextContent");
// Hide Arrow on hiding error message
this.errorText.addEventListener("click", this._hideArrows);
// Show and populate the printText div.
this.printText = docById("printText");
this.printTextContent = docById("printTextContent");
Expand Down

0 comments on commit 0ecd48c

Please sign in to comment.