From ce978102dcef11b06ccf825b62ccf88873fc398f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 20 Mar 2019 12:07:24 +0100 Subject: [PATCH] fix IDE warnings and whitespace --- api/js/etemplate/et2_widget_selectbox.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/et2_widget_selectbox.js b/api/js/etemplate/et2_widget_selectbox.js index d9883ff9a9..b356888b0d 100644 --- a/api/js/etemplate/et2_widget_selectbox.js +++ b/api/js/etemplate/et2_widget_selectbox.js @@ -302,8 +302,8 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend( option.addClass('cat_'+_value); break; case 'select-country': - // jQuery(document.createElement("span")).addClass('et2_country-select').appenTo(option); - option.addClass('et2_country-select flag-'+_value.toLowerCase()) + // jQuery(document.createElement("span")).addClass('et2_country-select').appenTo(option); + option.addClass('et2_country-select flag-'+_value.toLowerCase()); break; } if (this.options.value_class != '') option.addClass(this.options.value_class+_value); @@ -797,7 +797,7 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend( if (this._type == 'listbox' && this.options.value_class != '') { var self = this; - this.input.find('option').each(function(i,v) {jQuery(v).addClass(self.options.value_class+v.value)}); + this.input.find('option').each(function(i,v) {jQuery(v).addClass(self.options.value_class+v.value);}); } this.input.chosen({ inherit_select_classes: true,