shanselman/keysleft — pull request #9 by DavidVujic (2013-07-20 00:38:47+00:00)
Title: Bug fix: viewmodel loading problems

When testing with IE 10 I discovered some unexpected behaviour:
I calculated the keysleft and then browsed to a different site. Then I pushed the browser back button, and the view seemed to be stuck: there was values filled in, but the viewmodel didn't seem to have been connected with the template.

I have wrapped all of the "main" code in a jQuery document ready event and the page loads as expected.