summaryrefslogtreecommitdiffstats
path: root/js/globe.js
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-03-07 04:26:49 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-03-07 04:26:49 -0600
commitd4fce99f8149f352f5bba9deced0c98198d5c4d9 (patch)
tree01937a285ea6afef56f9f652fe8c334ad3ad51d4 /js/globe.js
parentf7b36706f5a63958e2fdc4ca637297e93a580be4 (diff)
downloadpathery-d4fce99f8149f352f5bba9deced0c98198d5c4d9.tar.xz
Changed pointer on left/right arrows in score page, and made them unselectable (via new global '.unselectable' class, which you can use elsewhere if you want)
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