added theme toggler button for testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-09 02:01:11 +04:00
parent dca4e57bc6
commit b8b81ca118

View File

@ -832,6 +832,14 @@ $(document).ready(function(){
<button id="UPDATE_HASH_URL_POSITION" onclick="toggleSetting(this)"></button>
</td>
</tr>
<tr>
<td>
Toggele viewer themes:
</td>
<td>
<button id="theme_toggler" onclick="toggleThemes(); $(this).text(toggleThemes('?'))"></button>
</td>
</tr>
<tr>
<td>
Full navigation gistory:
@ -945,6 +953,7 @@ $(document).ready(function(){
var b = $('#BrowserInfo')
$.each($.browser, function(i, e){$('<div>'+i+': '+e+'</div>').appendTo(b)})
$('#UserAgent').text(navigator.userAgent)
$('#theme_toggler').text(toggleThemes('?'))
}
function toggleSetting(obj){
obj = $(obj)