mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix #1099 unnecessary setCookie function definition in ncenter_login skin
This commit is contained in:
parent
64de942800
commit
5b60da6f62
1 changed files with 0 additions and 10 deletions
|
|
@ -1,16 +1,6 @@
|
|||
//<![CDATA[
|
||||
(function ($) {
|
||||
$(function () {
|
||||
function setCookie(n, v, d) {
|
||||
var e = "";
|
||||
if (d) {
|
||||
var dt = new Date();
|
||||
dt.setTime(dt.getTime() + (d * 24 * 60 * 60000));
|
||||
e = "; expires=" + dt.toGMTString();
|
||||
}
|
||||
document.cookie = n + "=" + v + e + "; path=/" + ((cookies_ssl) ? ";secure" : "");
|
||||
}
|
||||
|
||||
var n = $('#nc_container');
|
||||
$('.close', n).click(function () {
|
||||
setCookie('_ncenterlite_hide_id', '{$ncenterlite_latest_notify_id}', 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue