aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/framework.py2
-rw-r--r--cgi/templates/txt_base_top.html6
2 files changed, 1 insertions, 7 deletions
diff --git a/cgi/framework.py b/cgi/framework.py
index 651814c..8c43d02 100644
--- a/cgi/framework.py
+++ b/cgi/framework.py
@@ -361,8 +361,6 @@ def setCookie(self, key, value="", max_age=None, expires=None, path="/", domain=
if not domain is None:
if domain != "THIS":
self._newcookies[key]["domain"] = domain
- else:
- self._newcookies[key]["domain"] = Settings.DOMAIN
if not secure is None:
self._newcookies[key]["secure"] = secure
diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html
index 91052d6..7499fb4 100644
--- a/cgi/templates/txt_base_top.html
+++ b/cgi/templates/txt_base_top.html
@@ -31,14 +31,10 @@
<?py if board in ['zonavip', 'world']: ?>
<link rel="stylesheet" href="/static/css/txt/sjis.css" />
<?py #endif ?>
-<?py if board == 'polka': ?>
- <script type="text/javascript" src="#{static_url}js/weabotxt.test.js"></script>
-<?py else: ?>
<script type="text/javascript" src="#{static_url}js/weabotxt.js"></script>
-<?py #endif ?>
<script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
<script type="text/javascript" src="#{static_url}js/shobon.js"></script>
-<?py if replythread and board != 'polka': ?>
+<?py if replythread: ?>
<script type="text/javascript" src="#{static_url}js/autorefresh.js"></script>
<?py #endif ?>
</head>