Khan / khan-mobile

You’re probably looking for www.github.com/khan/mobile
237 stars 34 forks source link

Make no_exercises branch work with Android webview. #133

Closed dokkaebi closed 12 years ago

dokkaebi commented 12 years ago

removed unused menu panel; changed video height calculation to use width of '#home' instead of 'window'

For whatever reason, the $('#menu').remove() call leaves us with a blank white page on Android, so as long as nobody else needs it, let's just remove the menu div.

Also, to eliminate a rendering artifact we've had to make the webview wider than its content. Let's use the width of the outermost div '#home' to calculate video size rather than using window.width.