Skip to content
This repository was archived by the owner on Feb 16, 2018. It is now read-only.

Commit bce8bd1

Browse files
committed
Fix
Signed-off-by: Jesse Stuart <[email protected]>
1 parent c377112 commit bce8bd1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/assets/javascripts/drop.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@
237237
}
238238
});
239239

240+
Drop.on('change:authenticated', function () {
241+
if (Drop.config.authenticated) {
242+
Drop.handleAuthenticated();
243+
} else {
244+
Drop.handleUnauthenticated();
245+
}
246+
});
247+
240248
if (Drop.config_ready) {
241249
Drop.trigger('config:ready');
242250
}

0 commit comments

Comments
 (0)