mirror of
https://github.com/nkanaev/yarr.git
synced 2025-11-07 18:09:36 +00:00
readability keyboard shortcut
This commit is contained in:
@@ -573,11 +573,13 @@ var vm = new Vue({
|
||||
document.location.reload()
|
||||
})
|
||||
},
|
||||
getReadable: function(item) {
|
||||
toggleReadability: function() {
|
||||
if (this.itemSelectedReadability) {
|
||||
this.itemSelectedReadability = null
|
||||
return
|
||||
}
|
||||
var item = this.itemSelectedDetails
|
||||
if (!item) return
|
||||
if (item.link) {
|
||||
this.loading.readability = true
|
||||
api.crawl(item.link).then(function(data) {
|
||||
|
||||
Reference in New Issue
Block a user