Skip to content

Commit

Permalink
Merge pull request #118 from PrestaShopCorp/fix/mbo-1281/dashboard-po…
Browse files Browse the repository at this point in the history
…sition

[MBO-1281] dashboard position
  • Loading branch information
sowbiba authored Oct 9, 2023
2 parents a9a0160 + 33856b6 commit 09e5ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/js/gamification_bt.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function gamificationTasks()

if (typeof jsonData.advices_premium_to_display != 'undefined')
{
$('#hookDashboardZoneTwo section:eq(0)').after('<div id="premium_advice_container" class="row"></div>');
$('#hookDashboardZoneTwo > section:eq(0)').after('<div id="premium_advice_container" class="row"></div>');
for (var p in jsonData.advices_premium_to_display.advices)
if (jsonData.advices_premium_to_display.advices[p] != null && typeof jsonData.advices_premium_to_display.advices[p].html != 'undefined')
$('#premium_advice_container').append(jsonData.advices_premium_to_display.advices[p].html);
Expand Down

0 comments on commit 09e5ada

Please sign in to comment.