Make checkbox with label unique enough to style it different than normal label

This commit is contained in:
Hadi Nategh 2016-02-29 10:05:15 +00:00
parent 27c204cc7a
commit 5e25f344d6

View File

@ -130,6 +130,7 @@ var et2_checkbox = et2_inputWidget.extend(
label = '%s'+label;
}
this._super.apply(this, [label]);
jQuery(this.getSurroundings()._widgetSurroundings).addClass('et2_checkbox_label');
},
/**
* Override default to match against set/unset value