Move saved_config code inside $(document).ready(function() {} block.
authorMike Taylor <mike@indexdata.com>
Tue, 8 Apr 2014 10:19:06 +0000 (11:19 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 8 Apr 2014 10:19:06 +0000 (11:19 +0100)
commit6048ca4e831ca2b9153ba1f363c76f745db3b0c3
treee5eef827379afa413f9c517748c8aef2da9a84c1
parente6575aacc629557869f9d0ff13fc5aa9bf9e311d
Move saved_config code inside $(document).ready(function() {} block.
It DOES work there -- I don't know why I thought before it didn't.
(I was probably confused by the difficulty of dealing with a variable
that may or may not have been defined.)
Fixes bug MKWS-149.
src/mkws-core.js