Plugin Directory

Changeset 3248747


Ignore:
Timestamp:
03/01/2025 01:48:14 AM (12 months ago)
Author:
breadbutter
Message:

Fixed javascript error

Location:
bread-butter/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bread-butter/trunk/breadbutter-connect.php

    r3248745 r3248747  
    77Plugin URI: https://breadbutter.io
    88Description: Add SSO login options to your WordPress website
    9 Version: 7.6.945
     9Version: 7.6.946
    1010Author: Bread & Butter IO Inc.
    1111License: GPLv2 or later
  • bread-butter/trunk/templates/admin.php

    r3248745 r3248747  
    12331233                analyticsTab.classList.add('bb-dashboard-enabled');
    12341234                textBox.textContent = 'Enabled';
    1235                 document.querySelector('.js-bb-setup-is-working').style.display = 'flex';
     1235               
     1236                const element = document.querySelector('.js-bb-setup-is-working');
     1237                if (element) {
     1238                    element.style.display = 'flex';
     1239                }
     1240
    12361241            } else if (success && !appSecretSet) {
    12371242                analyticsTab.classList.add('bb-dashboard-disabled');
Note: See TracChangeset for help on using the changeset viewer.