Skip to content

Commit

Permalink
Change LABKEY.login.PasswordGauge to LABKEY.PasswordGauge (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-bpatel authored Mar 26, 2024
1 parent f67cc9f commit d2b1c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/frontPage/js/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ define(['jquery', 'magnific', 'util'], function($, magnific, util) {
self.initPasswordGauge = function() {
var $pw_gauge = self.$modal.find('#password-gauge');
if ($pw_gauge.length > 0) {
LABKEY.login.PasswordGauge.createComponent('password-gauge', 'password1', null, null);
LABKEY.PasswordGauge.createComponent('password-gauge', 'password1', null, null);

// the elements in the magnific modals are sized relatively, and the password gauge expects absolute sizing,
// work around this by setting the gauge size after we know what the password elements have been computed.
Expand Down

0 comments on commit d2b1c76

Please sign in to comment.