Skip to content

Commit

Permalink
web: show the main window on the right of the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
borisfaure committed Aug 21, 2010
1 parent d3bbcb6 commit 90d4d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amsn2/ui/front_ends/web/static/js/amsn2.js
Expand Up @@ -477,7 +477,8 @@ function showMainWindow()
if (!g_cl) {
g_cl = new ContactList($('cl'));
}
g_mainWindow.showCenter(false);

g_mainWindow.showCenter(false, 10, document.viewport.getWidth() - g_mainWindow.getSize()['width'] - 10);
g_mainWindow.toFront();
}
function hideMainWindow()
Expand Down

0 comments on commit 90d4d10

Please sign in to comment.