mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
New option to set popup width!
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user