Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Update kiosk-mode.js
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Jun 30, 2021
1 parent 50eb787 commit 4bfe630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class KioskMode {
this.hideOverflow = queryStringsSet ? this.hideOverflow : config.kiosk || config.hide_overflow;

const adminConfig = this.user.is_admin ? config.admin_settings : config.non_admin_settings;
if (adminConfig) for (let conf of adminConfig) this.setOptions(conf);
if (adminConfig) this.setOptions(adminConfig);

if (config.user_settings) {
for (let conf of this.array(config.user_settings)) {
Expand Down

0 comments on commit 4bfe630

Please sign in to comment.