New option to set popup width!

This commit is contained in:
Kerrick Long
2011-07-13 01:46:56 -05:00
parent 9f5ac7f09c
commit b4f1e020cf
3 changed files with 47 additions and 10 deletions
+1
View File
@@ -18,6 +18,7 @@
document.getElementById('body').style.width = '700px';
}
});
document.getElementById('body').setAttribute('style', 'max-width: ' + settings.get('popupWidth') + 'px');
}
window.addEventListener('load', initPopup);