1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Refactors new extension find bar code to support old FF versions

This commit is contained in:
Yury Delendik 2014-05-08 09:05:28 -05:00
parent bc66c8119e
commit 9f9454d2ae
2 changed files with 18 additions and 10 deletions

View file

@ -32,13 +32,13 @@ function test() {
// Runs tests after all 'load' event handlers have fired off
window.addEventListener("documentload", function() {
runTests(document, window, finish);
runTests(document, window, tab, finish);
}, false, true);
}, true);
}
function runTests(document, window, callback) {
function runTests(document, window, tab, callback) {
//
// Overall sanity tests