Minor UI changes
This commit is contained in:
parent
6ace81d0ee
commit
1d9aec7d57
3 changed files with 12 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ Dialog {
|
|||
anchors.left: parent.left; anchors.right: parent.right
|
||||
inputMethodHints: Qt.ImhNoAutoUppercase
|
||||
wrapMode: TextEdit.WordWrap
|
||||
placeholderText: qsTr("Insert comma seperated tags")
|
||||
placeholderText: qsTr("Insert comma separated tags")
|
||||
label: qsTr("Tags")
|
||||
text: settings.pocketTags
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,14 @@ window.KaktusReaderModeObject.prototype.applyFixups = function(doc) {
|
|||
for (i = 0; i < elements.length; i++) {
|
||||
elements[i].removeAttribute("target");
|
||||
}
|
||||
|
||||
// reddit fixup
|
||||
var host = doc.location.host;
|
||||
if (host.indexOf("reddit.com") !== -1) {
|
||||
var bar = document.querySelector("div.side");
|
||||
if (bar)
|
||||
bar.parentNode.removeChild(bar)
|
||||
}
|
||||
};
|
||||
|
||||
window.KaktusReaderModeObject.prototype.applyFiltering = function(doc, insert) {
|
||||
|
|
|
|||
|
|
@ -22,9 +22,10 @@ window.KaktusThemeObject.prototype.getPixelRatio = function() {
|
|||
};
|
||||
|
||||
window.KaktusThemeObject.prototype.isBlacklisted = function() {
|
||||
var host = document.location.hostname;
|
||||
/*var host = document.location.hostname;
|
||||
if (host === "www.reddit.com" || host === "reddit.com")
|
||||
return true;
|
||||
return true;*/
|
||||
return false;
|
||||
};
|
||||
|
||||
window.KaktusThemeObject.prototype.updateScale = function() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue