mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
add share filter
This commit is contained in:
12
js/script.js
12
js/script.js
@@ -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