forked from YahooArchive/boomerang
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes uncaught exception in memory plugin on IE6/7
The memory plugin uses document.getElementsByTagName in order to count the number of certain types of DOM elements. It uses (function).call() to do this. In IE6/7 the getElementsByTagName is not a typical function and does not have call(). This patch wraps the underlying function in an anonymous function when call() is missing. (cherry picked from commit 2eb2a6e) Signed-off-by: Philip Tellis <philip.tellis@gmail.com>
- Loading branch information
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters