Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

fix bug #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix bug #59

wants to merge 1 commit into from

Conversation

deksoke
Copy link

@deksoke deksoke commented May 21, 2016

check this function is working on IE browser version < 9
before get value from element

check this function is working on IE browser version < 9
// We may have an element that is not visible so
// we attempt to get the height in a different way
height = parseFloat( window.getComputedStyle( button ).height );
//Make sure this function working with client browser
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change it to // Make sure this function working with IE8, please?


if (isNaN(height))
height = 0;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add spaces inside brackets to be consistent in style with other file, please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants