Skip to content

Commit

Permalink
update getSize v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Nov 26, 2014
1 parent 22434cf commit 08f59e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/isotope.pkgd.js
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ if ( typeof define === 'function' && define.amd ) {
})( window );

/*!
* getSize v1.2.1
* getSize v1.2.2
* measure size of elements
* MIT license
*/
Expand Down Expand Up @@ -1045,7 +1045,7 @@ function getSize( elem ) {
// taken from jQuery's curCSS
function mungeNonPixel( elem, value ) {
// IE8 and has percent value
if ( getComputedStyle || value.indexOf('%') === -1 ) {
if ( window.getComputedStyle || value.indexOf('%') === -1 ) {
return value;
}
var style = elem.style;
Expand Down

0 comments on commit 08f59e9

Please sign in to comment.