[FIX] website: fixed t-oe cleaning

Port of commit 86c2939dd71b7de711f79f2c2dbb486f86c2e760 from website_less
This commit is contained in:
Christophe Matthieu
2015-04-01 11:23:02 +02:00
committed by David Monjoie
parent 286308155c
commit 5c6b175b64
@@ -299,7 +299,7 @@
// end
// clean t-oe
$html.find('[data-oe-model]').each(function () {
$html.find('[data-oe-model], [data-oe-type]').each(function () {
for (var k=0; k<this.attributes.length; k++) {
if (this.attributes[k].name.indexOf('data-oe-') === 0) {
$(this).removeAttr(this.attributes[k].name);