Browse Source

Fix Safari's "Attempted to assign to readonly property" with style (#108)

pull/187/head
Artur Arseniev 9 years ago
parent
commit
18e75c96de
  1. 2
      src/utils/Sorter.js

2
src/utils/Sorter.js

@ -108,7 +108,7 @@ module.exports = Backbone.View.extend({
for(var i = 0; i < o.length; i++) {
style += o[i] + ':' + o.getPropertyValue(o[i])+';';
}
clonedEl.style = style;
clonedEl.setAttribute('style', style);
clonedEl.className += ' ' + this.pfx + 'bdrag';
document.body.appendChild(clonedEl);
this.dragHelper = clonedEl;

Loading…
Cancel
Save