Commit aff59438 authored by Jonathon Duerig's avatar Jonathon Duerig

APT_OPTIONS should be optional. Make it so.

parent 82477f97
...@@ -28,10 +28,17 @@ function ($, sup) ...@@ -28,10 +28,17 @@ function ($, sup)
}); });
sup.InitProfileSelector(); sup.InitProfileSelector();
console.log('APT_OPTIONS: ' + JSON.stringify(window.APT_OPTIONS)); if (window.APT_OPTIONS)
if (window.APT_OPTIONS.isNewUser)
{ {
sup.ShowModal('#working'); console.log('APT_OPTIONS: ' + JSON.stringify(window.APT_OPTIONS));
if (window.APT_OPTIONS.isNewUser)
{
sup.ShowModal('#working');
}
}
else
{
console.log('APT_OPTIONS is undefined');
} }
initButtons(); initButtons();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment