Skip to content

Commit 240cadd

Browse files
clean up unnecessary comments and logic
1 parent 23fc456 commit 240cadd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/examples/cstg-prebid-example/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@
3333

3434
$('#targeted_advertising_ready').text(uid2 ? 'yes' : 'no');
3535

36-
// Handle opt-out case
3736
if (isOptedOut) {
3837
$('#advertising_token').text('This email has opted out.');
3938
$('#login_form').hide();
4039
$('#clear_storage_form').show();
4140
} else {
42-
$('#advertising_token').text(uid2 && !uid2.optout ? String(uid2.id) : uid2 && uid2.optout ? 'This email has opted out.' : '');
41+
$('#advertising_token').text(uid2 ? String(uid2.id) : '');
4342
if (!uid2) {
4443
$('#login_form').show();
4544
$('#clear_storage_form').hide();

0 commit comments

Comments
 (0)