Permalink
Browse files

style tweaks

  • Loading branch information...
1 parent 018b5c6 commit df3dc2ced010587cf57c1073daaa55a4fac1ddf3 @rvagg rvagg committed Oct 14, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/bonzo.js
View
@@ -789,10 +789,12 @@
if (!features.opasity && 'opacity' in iter) {
// oh this 'ol gamut
- iter.filter = null == iter.opacity || '' === iter.opacity ? '' : 'alpha(opacity=' + (iter.opacity * 100) + ')'
+ iter.filter = iter.opacity != null && iter.opacity !== ''
+ ? 'alpha(opacity=' + (iter.opacity * 100) + ')'
+ : ''
// give it layout
iter.zoom = o.zoom || 1
- delete iter.opacity
+ ;delete iter.opacity
}
function fn(el, p, v) {

0 comments on commit df3dc2c

Please sign in to comment.