fixed bad vlue: undefiend -> undefined
This commit is contained in:
parent
750b0e3d18
commit
9eb541b100
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ exports.eejsBlock_styles = function (hook_name, args, cb) {
|
||||||
|
|
||||||
exports.clientVars = function(hook, context, callback) {
|
exports.clientVars = function(hook, context, callback) {
|
||||||
var pluginSettings = settings.ep_email_notifications;
|
var pluginSettings = settings.ep_email_notifications;
|
||||||
var panelDisplayLocation = (pluginSettings && pluginSettings.panelDisplayLocation)?pluginSettings.panelDisplayLocation:"undefiend";
|
var panelDisplayLocation = (pluginSettings && pluginSettings.panelDisplayLocation)?pluginSettings.panelDisplayLocation:"undefined";
|
||||||
// return the setting to the clientVars, sending the value
|
// return the setting to the clientVars, sending the value
|
||||||
return callback({ "panelDisplayLocation": panelDisplayLocation });
|
return callback({ "panelDisplayLocation": panelDisplayLocation });
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue