summaryrefslogtreecommitdiffstats
path: root/js/globe.js
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-07 02:39:33 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-03-07 02:39:33 -0800
commitecb87bd22022a140df7e0d1843494ff065d55c1c (patch)
treec36960ca93f0c839497eb6cf138da35bc96c5541 /js/globe.js
parent03f3979e61cadcc0cad90352a7ae1e5b91e5136f (diff)
parentd4fce99f8149f352f5bba9deced0c98198d5c4d9 (diff)
downloadpathery-ecb87bd22022a140df7e0d1843494ff065d55c1c.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'js/globe.js')
-rw-r--r--js/globe.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/js/globe.js b/js/globe.js
index 9538d9b..152ad71 100644
--- a/js/globe.js
+++ b/js/globe.js
@@ -1,4 +1,3 @@
-
function showSignin() {
if (document.getElementById('oid_hidden') !== undefined) {
document.getElementById('oid_hidden').id = 'oid_wrapper';
@@ -26,6 +25,11 @@ function createSignin() {
document.body.appendChild(div.firstChild);
}
-
-
-
+//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');
+ }
+}); \ No newline at end of file