summaryrefslogtreecommitdiffstats
path: root/js/globe.js
blob: 1dc61a0a237a6b02ace34850d3cc9970068f46f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function showSignin() {
	if (document.getElementById('oid_hidden') !== undefined) {
		document.getElementById('oid_hidden').id = 'oid_wrapper';
	}
}
function hideSignin() {
	if (document.getElementById('oid_wrapper') !== undefined) {
		document.getElementById('oid_wrapper').id = 'oid_hidden';
	}
}

//Make unselectable elements unselectable (hack for IE 9.0 and below, which doesn't support our CSS)
$(document).ready(function()
{
	if ($.browser.msie && $.browser.version < 10) 
	{
		$('.unselectable').find(':not(input)').attr('unselectable', 'on');
	}
});