improve behaviour of deselect all
This commit is contained in:
parent
f290bcf169
commit
0873ae9ab7
1 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,12 @@
|
|||
|
||||
this.perform = function() {
|
||||
if (self.noneSelected()) {
|
||||
// clear the posts
|
||||
app.page.collection.reset();
|
||||
app.page.render();
|
||||
|
||||
// toggle the button
|
||||
this.calculateToggleText();
|
||||
return;
|
||||
} else {
|
||||
window.location = self.generateURL(); // hella hax
|
||||
|
|
|
|||
Loading…
Reference in a new issue