Skip to content

Commit

Permalink
Use string concat instead of interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno committed Oct 17, 2023
1 parent 24026a3 commit d016f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Patches/broken_screenshots_493.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class _BrokenScreenshotNotifier {
header: "Just now"
};

let message = `Due to some recent database issues, we were unable to store ${this.num_broken_screenshots} of your recent screenshots. These have been removed from your screenshot history.`;
let message = "Due to some recent database issues, we were unable to store " + this.num_broken_screenshots + " of your recent screenshots. These have been removed from your screenshot history.";

// Schedule notification to appear when the notification system is ready.
$(document).bind("helioviewer-ready", () => {
Expand Down

0 comments on commit d016f02

Please sign in to comment.