mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
add share filter
This commit is contained in:
1 parent
c84dbf4d97
commit
65f56144c0
3 files changed
+15
-1
No files matched your search
@@ -385,6 +385,18 @@ View.prototype = {
|
||||
$('#app-navigation .any-color').addClass('icon-checkmark');
|
||||
});
|
||||
|
||||
$('#shared-with-you').click(function () {
|
||||
$('.notes-grid').isotope({ filter: function() {
|
||||
return $(this).children().hasClass('shared');
|
||||
} });
|
||||
});
|
||||
|
||||
$('#shared-by-you').click(function () {
|
||||
$('.notes-grid').isotope({ filter: function() {
|
||||
return $(this).children().hasClass('shareowner');
|
||||
} });
|
||||
});
|
||||
|
||||
// create a new note
|
||||
var self = this;
|
||||
$('#new-note').click(function () {
|
||||
|
||||
Reference in new issue
Block a user