Browse Source

Fixed doorbell memory leak, added option to add email to feedback.

KrisVos130 9 years ago
parent
commit
82afcbfbde
3 changed files with 7 additions and 11 deletions
  1. 3 0
      app/client/app.css
  2. 4 2
      app/client/head.html
  3. 0 9
      app/client/templates/room.html

+ 3 - 0
app/client/app.css

@@ -1270,6 +1270,9 @@ nav form input[type="image"]{
 #doorbell-button{
     margin-right: 30em;
 }
+#doorbell-email {
+    text-align: left;
+}
 #search-playlist{
     outline: 0;
     border: none;

+ 4 - 2
app/client/head.html

@@ -61,8 +61,10 @@
     </script>
     <script type="text/javascript">
         window.doorbellOptions = {
-            appKey: 'v2Gu14c8s9HgBsAFCXNWIm2vlk11N12Plt2Wu5k2MbQIkM1Ao6kOTCbfN95ElEVM',
-            hideEmail: true
+            strings: {
+                'email-input-placeholder': 'Your email address (optional)'
+            },
+            appKey: 'v2Gu14c8s9HgBsAFCXNWIm2vlk11N12Plt2Wu5k2MbQIkM1Ao6kOTCbfN95ElEVM'
         };
         (function(d, t) {
             var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/2408?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g);

File diff suppressed because it is too large
+ 0 - 9
app/client/templates/room.html


Some files were not shown because too many files changed in this diff