summaryrefslogtreecommitdiff
path: root/www/js/apps.js
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2016-01-28 20:29:46 (GMT)
committerPeterTheOne <petertheone@gmail.com>2016-01-28 20:29:46 (GMT)
commita3d085734454a66955bcc2c642b0a4f7bf5d2b92 (patch)
treed290b36b2eb96d6350ec31e02e2a9e2f0c93b14c /www/js/apps.js
parent7aa6781c617b91e3ed28d528428087f11131daac (diff)
fix musicgrid bugs, create Rivendell.Group class, refactor
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;
}