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 { #browser {
background: rgba(0, 0, 0, .5); background: rgba(0, 0, 0, .5);
} }
@ -25,6 +26,7 @@
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
} }
*/
#menubar { #menubar {
position: absolute; position: absolute;

View File

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

View File

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