summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-05-10 14:14:35 +0200
committerAaron Parecki <aaron@parecki.com>2015-05-10 14:14:35 +0200
commitb92daf96f5ae40abaadc3f41e448fcc75824334b (patch)
tree356b80d4d63f2dbe01afbefee65da986b2c1005a /public
parent2792d5150d81c7e9e7a8e645e1b07f0ad0dc5e8a (diff)
disable manifest during development, set placeholder text
Diffstat (limited to 'public')
-rw-r--r--public/editor/editor.js3
-rw-r--r--public/editor/style.css4
2 files changed, 7 insertions, 0 deletions
diff --git a/public/editor/editor.js b/public/editor/editor.js
index bdf0580..2c4972f 100644
--- a/public/editor/editor.js
+++ b/public/editor/editor.js
@@ -26,4 +26,7 @@ $(function () {
}
}
});
+ $('.editable').focus(function(){
+ $('.placeholder').removeClass('placeholder');
+ });
});
diff --git a/public/editor/style.css b/public/editor/style.css
index b72bf92..bec46db 100644
--- a/public/editor/style.css
+++ b/public/editor/style.css
@@ -95,3 +95,7 @@ blockquote {
border-bottom: 1px solid #dbdbdb;
border-top: 1px solid #dbdbdb;
}
+
+.editable .placeholder {
+ color: #ccc;
+}