fixed bad vlue: undefiend -> undefined

This commit is contained in:
quenenni 2013-04-08 21:10:24 +02:00
parent 750b0e3d18
commit 9eb541b100

View file

@ -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 });
}; };