Skip to content

Commit

Permalink
Wrong side, and non-global
Browse files Browse the repository at this point in the history
  • Loading branch information
Firepup6500 authored Sep 19, 2023
1 parent 799185d commit 7250d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/head_tag.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script type="text/discourse-plugin" version="0.8.7">
if (settings.custom_profile_link_debug_mode) console.debug("[Custom Profile Link] Settings dump follows",settings);
const ids = settings.custom_profile_link_user_field_ids.split(/\|/).replace(/_/,"").map(Number);
const ids = settings.custom_profile_link_user_field_ids.replace(/_/g,"").split(/\|/).map(Number);
const labels = settings.custom_profile_link_labels.split(/\|/);
const prefixes = settings.custom_profile_link_prefixes.split(/\|/);
const parsedSettings = {"ids": ids, "labels": labels, "prefixes": prefixes}
Expand Down

0 comments on commit 7250d8f

Please sign in to comment.