summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/init.js1
-rw-r--r--static/playlist.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/static/init.js b/static/init.js
index 6a37be5..b45539c 100644
--- a/static/init.js
+++ b/static/init.js
@@ -101,6 +101,7 @@ $(document).ready(function() {
model.save();
});
items.sort({silent: true});
+ playlist.hintnext();
}
});
});
diff --git a/static/playlist.js b/static/playlist.js
index 18403c4..eabd56e 100644
--- a/static/playlist.js
+++ b/static/playlist.js
@@ -25,8 +25,8 @@ $(function(){
return false;
});
$('a.delete', this.el).click(function() {
- //var model = items.getByCid(model.cid);
items.remove(model);
+ playlist.hintnext();
return false;
});
return this;