Skip to content

Commit

Permalink
Fixed syntax error with string, got rid of empty spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lesliehuh committed Jan 24, 2025
1 parent e92b916 commit 6f8b234
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Binary file modified dump.rdb
Binary file not shown.
5 changes: 1 addition & 4 deletions public/src/admin/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function setupGraphs(callback) {

function updateLabel(translated) {
('[data-action="updateGraph"][data-units="custom"]').text(translated);
console.log("lhuh");
console.log('lhuh');
}

$('[data-action="updateGraph"]:not([data-units="custom"])').on('click', function () {
Expand All @@ -351,9 +351,6 @@ function setupGraphs(callback) {
}
until = until.getTime();
updateTrafficGraph($(this).attr('data-units'), until, amount);



require(['translator'], function (translator) {
translator.translate('[[admin/dashboard:page-views-custom]]', updateLabel);
});
Expand Down

0 comments on commit 6f8b234

Please sign in to comment.