From a103b288974cd2e7226a3faea98320c369ea896d Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 13 Apr 2013 16:44:30 -0700 Subject: [PATCH] Options changes - Options menu rearranged - Canceling avatar choosing goes back to options menu --- js/sim.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/js/sim.js b/js/sim.js index 47cf9a052..f3488d294 100644 --- a/js/sim.js +++ b/js/sim.js @@ -3162,6 +3162,11 @@ function overlay(overlayType, data) { selectElem = '#overlay_password'; break; case 'options': + + contents += '

'; + + contents += '

'; + contents += ''; var timestamps = (Tools.prefs.get('timestamps') || {}); @@ -3170,13 +3175,12 @@ function overlay(overlayType, data) { contents += '

'; contents += '

'; - contents += '

'; - contents += '

'; + contents += '

'; break; case 'avatars': - contents += '

Choose an avatar or

'; + contents += '

Choose an avatar or

'; contents += '
'; for (var i=1; i<=293; i++) { @@ -3185,7 +3189,7 @@ function overlay(overlayType, data) { } contents += '
'; - contents += '

'; + contents += '

'; break; case 'testclientgetassertion': contents += '

Because of the same-origin policy, some manual work is required to log in using testclient.html.

';