Commit 8c45ac32 authored by Robert Knight's avatar Robert Knight

Remove unused `options` parameter

parent f4af44b5
......@@ -342,10 +342,9 @@ function prioritizePages(position) {
*
* @param {HTMLElement} root
* @param {Array} selectors - Selector objects to anchor
* @param {Object} options - Options to pass to selector anchoring
* @return {Promise<Range>}
*/
function anchor(root, selectors, options = {}) {
function anchor(root, selectors) {
const position = selectors.find(s => s.type === 'TextPositionSelector');
const quote = selectors.find(s => s.type === 'TextQuoteSelector');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment