Skip to content

Commit

Permalink
filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jnxyx committed Sep 12, 2016
1 parent f0fb030 commit a253de8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,17 @@
});

uploadElement.onmouseover = function() {
self.css(uploadElement, {});
self.css(uploadElement, {
opacity: '0.8',
filter: 'alpha(opacity=80)'
});
};

uploadElement.onmouseout = function() {
self.css(uploadElement, {});
self.css(uploadElement, {
opacity: '1',
filter: 'alpha(opacity=100)'
});
};

var uploadInput = global.document.createElement('input');
Expand Down

0 comments on commit a253de8

Please sign in to comment.