xtras/mathuaerknedam 525:9ae46dc1efb4: Renkoo: remove the alignc...
commits at adium.im
commits at adium.im
Thu Sep 23 13:57:34 UTC 2010
details: http://hg.adium.im/xtras/mathuaerknedam/rev/9ae46dc1efb4
revision: 525:9ae46dc1efb4
author: mathuaerknedam
date: Thu Sep 23 08:57:25 2010 -0500
Renkoo: remove the alignchat function from Footer.html since it's just a dupe of the fuction in Adium's Templet.html before Adium's was improved.
diffs (26 lines):
diff -r 72fcd38fe820 -r 9ae46dc1efb4 Renkoo â¿.AdiumMessageStyle/Contents/Resources/Footer.html
--- a/Renkoo â¿.AdiumMessageStyle/Contents/Resources/Footer.html Wed Sep 22 22:04:38 2010 -0500
+++ b/Renkoo â¿.AdiumMessageStyle/Contents/Resources/Footer.html Thu Sep 23 08:57:25 2010 -0500
@@ -220,22 +220,4 @@
});
}
- //Align our chat to the bottom of the window. If true is passed, view will also be scrolled down
- function alignChat(shouldScroll) {
- var windowHeight = window.innerHeight;
-
- if (windowHeight > 0) {
- var contentElement = document.body;
- var diffHeight = (windowHeight - document.documentElement.offsetHeight);
- if (diffHeight > 0) {
- contentElement.style.position = 'relative';
- contentElement.style.top = diffHeight + 'px';
- } else {
- contentElement.style.position = 'static';
- }
- }
-
- if (shouldScroll) scrollToBottom();
- }
-
</script>
More information about the commits
mailing list