Disable drop area if not a logged in user

Closes #212
This commit is contained in:
Gina Häußge committed 2013-08-27 21:40:20 +02:00
1 parent 46500cea7c
commit 54679e663e
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -198,6 +198,7 @@ $(function() {
ko.applyBindings(settingsViewModel, document.getElementById("settings_dialog"));
ko.applyBindings(navigationViewModel, document.getElementById("navbar"));
ko.applyBindings(appearanceViewModel, document.getElementsByTagName("head")[0]);
ko.applyBindings(loginStateViewModel, document.getElementById("drop_overlay"));
var timelapseElement = document.getElementById("timelapse");
if (timelapseElement) {
+1 -1
View File
@@ -17,7 +17,7 @@
</div>
</div>
<div id="drop_overlay">
<div id="drop_overlay" data-bind="visible: isUser()">
<div id="drop_overlay_background"></div>
<div id="drop_overlay_wrapper">
{% if enableSdSupport %}