Skip to content

Round the value to prevent a Firefox error#4

Open
cpowell wants to merge 1 commit intodanguer:masterfrom
cpowell:master
Open

Round the value to prevent a Firefox error#4
cpowell wants to merge 1 commit intodanguer:masterfrom
cpowell:master

Conversation

@cpowell
Copy link
Copy Markdown

@cpowell cpowell commented Mar 16, 2013

The 'bytes' value for my data was ending up as a decimal, e.g. 415.5. I found that Firefox was erroring on this value; Chrome seemed to handle it in stride. By applying Math.round() to the bytes variable, Firefox got a lot happier.

…fox. (Chrome appears to work it out on its own just fine.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant