summaryrefslogtreecommitdiff
path: root/static/background.js
diff options
context:
space:
mode:
authorScott Ostler <sostler@deathmachine.home>2009-12-21 14:23:10 -0800
committerScott Ostler <sostler@deathmachine.home>2009-12-21 14:23:10 -0800
commit458a2627cc6600690fdf78e48b78cf17a6ea4469 (patch)
treea465ae1ed43f55e906c5fabb6f76d706947108c2 /static/background.js
parent704efb06cd424de7411f198bc4c6ce6b99a9dcbe (diff)
preupdate
Diffstat (limited to 'static/background.js')
-rw-r--r--static/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/background.js b/static/background.js
index 8eed157..364bdcb 100644
--- a/static/background.js
+++ b/static/background.js
@@ -19,7 +19,7 @@ function getBackground() {
window.onload = function() {
var nAV = navigator.appVersion.toLowerCase();
if (nAV.match(/msie 5/) || nAV.match(/msie 6/)) return false;
- var items = utils.getElementsByClassName('dialog','div');
+ var items = document.getElementsByClassName('dialog','div');
for (var i=0,j=items.length; i<j; i++) {
widgets[widgets.length] = new DialogWidget(items[i],i);
}