comment out bad browser warning

This commit is contained in:
Andy Janata 2012-01-23 23:04:14 -08:00
parent 347dfb0b02
commit 3253be9530
3 changed files with 15 additions and 11 deletions

View File

@ -1,3 +1,4 @@
/*
#browser {
background: rgba(0, 0, 0, .5);
}
@ -25,6 +26,7 @@
right: 0px;
bottom: 0px;
}
*/
#menubar {
position: absolute;

View File

@ -33,6 +33,7 @@
< % = new net.socialgamer.cah.data.WhiteDeck().getNextCard().toString() % >
--%>
<%--
<div id="browser" class="hide">
<div id="browser_inner">
<p>Cards Against Humanity is known to have graphical glitches in
@ -42,6 +43,7 @@
<input type="button" id="browser_ok" value="Okay, I Understand" />
</div>
</div>
--%>
<div id="nickbox">
Nickname: <input type="text" id="nickname" value="" maxlength="30" />

View File

@ -21,17 +21,17 @@ $(document).ready(function() {
// $(window).bind("beforeunload", window_beforeunload);
$("#logout").click(logout_click);
if (($.browser.mozilla || $.browser.opera) && !$.cookie("browser_dismiss")) {
var name = $.browser.mozilla ? "Firefox" : "Opera";
$("#browser").show();
$("#browser_name").text(name);
$("#browser_ok").click(function() {
$("#browser").hide();
$.cookie("browser_dismiss", true, {
expires : 3650,
});
});
}
// if (($.browser.mozilla || $.browser.opera) && !$.cookie("browser_dismiss")) {
// var name = $.browser.mozilla ? "Firefox" : "Opera";
// $("#browser").show();
// $("#browser_name").text(name);
// $("#browser_ok").click(function() {
// $("#browser").hide();
// $.cookie("browser_dismiss", true, {
// expires : 3650,
// });
// });
// }
});
function nickbox_keyup(e) {