mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Compare commits
3 Commits
79cac9ac72
...
e78a15dc0e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e78a15dc0e | ||
|
|
7f87a3dac7 | ||
|
|
9a899ecb9b |
@@ -5,7 +5,7 @@
|
|||||||
<name>Quick notes</name>
|
<name>Quick notes</name>
|
||||||
<summary>Quick notes with a basic rich text</summary>
|
<summary>Quick notes with a basic rich text</summary>
|
||||||
<description>Quick notes with a basic rich text</description>
|
<description>Quick notes with a basic rich text</description>
|
||||||
<version>0.8.30</version>
|
<version>0.8.40</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author>Matias De lellis</author>
|
<author>Matias De lellis</author>
|
||||||
<namespace>QuickNotes</namespace>
|
<namespace>QuickNotes</namespace>
|
||||||
@@ -20,6 +20,6 @@
|
|||||||
<screenshot>https://raw.githubusercontent.com/matiasdelellis/quicknotes/master/doc/quicknotes-attachments.jpeg</screenshot>
|
<screenshot>https://raw.githubusercontent.com/matiasdelellis/quicknotes/master/doc/quicknotes-attachments.jpeg</screenshot>
|
||||||
<screenshot>https://raw.githubusercontent.com/matiasdelellis/quicknotes/master/doc/quicknotes-shared-note.jpeg</screenshot>
|
<screenshot>https://raw.githubusercontent.com/matiasdelellis/quicknotes/master/doc/quicknotes-shared-note.jpeg</screenshot>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<nextcloud min-version="30" max-version="32"/>
|
<nextcloud min-version="32" max-version="32"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</info>
|
</info>
|
||||||
10
js/script.js
10
js/script.js
@@ -697,7 +697,7 @@ View.prototype = {
|
|||||||
self._cleanNavigation();
|
self._cleanNavigation();
|
||||||
$(this).addClass("active");
|
$(this).addClass("active");
|
||||||
self._isotope.arrange({
|
self._isotope.arrange({
|
||||||
filter: function(elem) {
|
filter: function(index, elem) {
|
||||||
return elem.querySelector('.shared') != null;
|
return elem.querySelector('.shared') != null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -710,7 +710,7 @@ View.prototype = {
|
|||||||
self._cleanNavigation();
|
self._cleanNavigation();
|
||||||
$(this).addClass("active");
|
$(this).addClass("active");
|
||||||
self._isotope.arrange({
|
self._isotope.arrange({
|
||||||
filter: function(elem) {
|
filter: function(index, elem) {
|
||||||
return elem.querySelector('.shareowner') != null;
|
return elem.querySelector('.shareowner') != null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -1134,14 +1134,14 @@ View.prototype = {
|
|||||||
},
|
},
|
||||||
_filterNote: function (noteId) {
|
_filterNote: function (noteId) {
|
||||||
this._isotope.arrange({
|
this._isotope.arrange({
|
||||||
filter: function(elem) {
|
filter: function(index, elem) {
|
||||||
return noteId == elem.firstElementChild.getAttribute('data-id');
|
return noteId == elem.firstElementChild.getAttribute('data-id');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
_filterTag: function (tagId) {
|
_filterTag: function (tagId) {
|
||||||
this._isotope.arrange({
|
this._isotope.arrange({
|
||||||
filter: function(elem) {
|
filter: function(index, elem) {
|
||||||
var match = false;
|
var match = false;
|
||||||
var tags = elem.querySelectorAll('.slim-tag');
|
var tags = elem.querySelectorAll('.slim-tag');
|
||||||
tags.forEach (function(tagItem) {
|
tags.forEach (function(tagItem) {
|
||||||
@@ -1154,7 +1154,7 @@ View.prototype = {
|
|||||||
},
|
},
|
||||||
_filterColor: function (color) {
|
_filterColor: function (color) {
|
||||||
this._isotope.arrange({
|
this._isotope.arrange({
|
||||||
filter: function(elem) {
|
filter: function(index, elem) {
|
||||||
return color == elem.firstElementChild.style["background-color"];
|
return color == elem.firstElementChild.style["background-color"];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user