From b4edcce29608ffb6704f6549ff122aba054287a8 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sun, 2 Sep 2018 02:29:23 +0200 Subject: [PATCH] Remove unused `findStatusIcon` property from `PDFFindBar` instances The property is intended to contain a reference to a DOM element, which not only is nowhere to be found *now* but appears to never have existed in the first place. --- web/pdf_find_bar.js | 1 - web/viewer.js | 1 - 2 files changed, 2 deletions(-) diff --git a/web/pdf_find_bar.js b/web/pdf_find_bar.js index 795b725e7a878..a4e9d8ef1b625 100644 --- a/web/pdf_find_bar.js +++ b/web/pdf_find_bar.js @@ -36,7 +36,6 @@ class PDFFindBar { this.entireWord = options.entireWordCheckbox || null; this.findMsg = options.findMsg || null; this.findResultsCount = options.findResultsCount || null; - this.findStatusIcon = options.findStatusIcon || null; this.findPreviousButton = options.findPreviousButton || null; this.findNextButton = options.findNextButton || null; this.findController = options.findController || null; diff --git a/web/viewer.js b/web/viewer.js index 113b2799eec93..1486a265f6029 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -137,7 +137,6 @@ function getViewerConfiguration() { entireWordCheckbox: document.getElementById('findEntireWord'), findMsg: document.getElementById('findMsg'), findResultsCount: document.getElementById('findResultsCount'), - findStatusIcon: document.getElementById('findStatusIcon'), findPreviousButton: document.getElementById('findPrevious'), findNextButton: document.getElementById('findNext'), },