shelfgot / TorahLibraryAddOnForDocs

A Google Docs add-on for Sefaria, currently published as "Sefaria Library" in the Google Workspace Marketplace.
10 stars 1 forks source link

Adding source from search adds it twice #22

Closed EliezerIsrael closed 9 years ago

EliezerIsrael commented 9 years ago

If I do a search, and then click a source, it gets added to my document twice.

shelfgot commented 9 years ago

That is what I am working on right now. It has to do with the fact (I think) that the search returns (especially for Tanach) the two versions, trope and no trope. They in theory should look different when inserted but for the fact that I strip the nekudot and taamim with Russell Neiss's function, so that I can bold the matched text . I'm going to have to do something about.

shelfgot commented 9 years ago

Fixed with a debouncing setTimeout()