Permalink
Browse files

fix possible startup probs

  • Loading branch information...
1 parent d5f61fa commit 4889ff3e798ae7e86e00951478728934fc1b527b @shatting committed Jul 16, 2011
Showing with 6 additions and 9 deletions.
  1. +1 −4 background.html
  2. +1 −3 javascripts/lib/jquery.autoSuggest.js
  3. +1 −1 javascripts/popup.js
  4. +2 −0 javascripts/simplenoteBG.js
  5. +1 −1 manifest.json
View
@@ -25,10 +25,7 @@
"javascripts/simplenoteLS.js",
"javascripts/simplenoteCM.js",
"javascripts/simplenoteDB.js",
- "javascripts/simplenoteBG.js",
- function() {
- SimplenoteBG.startup();
- }
+ "javascripts/simplenoteBG.js"
);
</script>
<!-- <script type="text/javascript" async src="https://ssl.google-analytics.com/ga.js"></script>-->
@@ -431,9 +431,7 @@
$("li", results_ul).removeClass("active");
$(this).addClass("active");
event.stopPropagation();
- event.preventDefault();
- event.preventBubble();
- event.preventCapture();
+ event.preventDefault();
}).data("data",{
attributes: data[num],
num: num_count
@@ -391,7 +391,6 @@ function shorcuts(event) {
}
// ---------------------------------------
-$(document).ready(readyListener);
function readyListener() {
extData.times.ready = (new Date())-start;
@@ -2562,3 +2561,4 @@ var snHelpers = {
}
}
+$(document).ready(readyListener);
@@ -365,6 +365,8 @@ $(document).ready(function() {
SimplenoteBG.log("(ready)");
+ SimplenoteBG.startup();
+
setTimeout(function() {
SimplenoteLS._maintain();
SimplenoteBG.backgroundSync(true, function() {
View
@@ -1,6 +1,6 @@
{
"name": "Syncpad for Simplenote",
- "version": "2.0",
+ "version": "2.0.0.1",
"minimum_chrome_version": "5.0.316.0",
"description": "__MSG_description__",
"default_locale": "en",

0 comments on commit 4889ff3

Please sign in to comment.