From 4a2d4ad50d9da9256c59fb6f9a07ae0022c6d2f7 Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Wed, 22 Jun 2016 16:02:23 +0000 Subject: [PATCH] js bugfix -- missing parameter --- frontend/feed.js | 2 +- frontend/manifest.json | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/frontend/feed.js b/frontend/feed.js index 1158a15..1315699 100644 --- a/frontend/feed.js +++ b/frontend/feed.js @@ -73,7 +73,7 @@ $(function(){ } }); - $(".micropub-form .content").focus(function () { + $(".micropub-form .content").focus(function (evt) { $(this).animate({ height: "4em" }, 200); var $target = $(evt.target); }); diff --git a/frontend/manifest.json b/frontend/manifest.json index 5cbbf53..372c464 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -6,11 +6,9 @@ "display": "standalone", "theme_color": "#9b6137", "background_color": "#9b6137", - "icons": [ - { - "src": "/static/logo.png", - "sizes": "512x512", - "type": "image/png", - } - ] -} \ No newline at end of file + "icons": [{ + "src": "/static/logo.png", + "sizes": "512x512", + "type": "image/png" + }] +}