summaryrefslogtreecommitdiff
path: root/www/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/apps.js')
-rw-r--r--www/js/apps.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/js/apps.js b/www/js/apps.js
index 4f71a9c..12aba8f 100644
--- a/www/js/apps.js
+++ b/www/js/apps.js
@@ -20,7 +20,11 @@
* along with rhwebimport. If not, see <http://www.gnu.org/licenses/>.
*/
-var apps_current;
+'use strict';
+
+var Rivendell = Rivendell || {};
+
+var apps_current = null;
function apps_select(app) {
$('.container').removeClass('fullWidth');
@@ -117,5 +121,5 @@ function apps_cleanup() {
$(window).off('popstate');
- delete apps_current;
+ apps_current = null;
}