readability keyboard shortcut
This commit is contained in:
parent
f590c358d2
commit
b123753d65
3 changed files with 12 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue