| 311 |
baseURL: document.location.protocol + '//' + document.location.hostname + (document.location.port=='' ? '' : (':' + document.location.port)) + '/bbs/', |
baseURL: document.location.protocol + '//' + document.location.hostname + (document.location.port=='' ? '' : (':' + document.location.port)) + '/bbs/', |
| 312 |
}); |
}); |
| 313 |
|
|
| 314 |
window.addEventListener("load", () => { |
$(document).ready(function() { |
| 315 |
var s = document.getElementById("ex_dir"); |
$("#ex_dir").on("change", function(e) { |
| 316 |
if (s) |
set_ex_dir($("#ex_dir").find(":selected").val()); |
| 317 |
{ |
}); |
|
s.addEventListener("change", (e) => { |
|
|
set_ex_dir(s.value); |
|
|
}); |
|
|
} |
|
| 318 |
|
|
| 319 |
var f = document.getElementById("move_article"); |
$("#move_article").on("submit", (e) => { |
| 320 |
if (f) |
e.preventDefault(); |
| 321 |
{ |
if ($("#move_article").find("#sid").find(":selected").val() > 0) |
| 322 |
f.addEventListener("submit", (e) => { |
{ |
| 323 |
e.preventDefault(); |
move_article($("#move_article").find("#sid").find(":selected").val()); |
| 324 |
move_article(f.sid.value); |
} |
| 325 |
}); |
}); |
|
} |
|
|
}); |
|
| 326 |
|
|
|
$(document).ready(function() { |
|
| 327 |
$("img[class=auto_adjust]").on("load", function() { |
$("img[class=auto_adjust]").on("load", function() { |
| 328 |
if ($(this).width() > {$BBS_img_max_width}) |
if ($(this).width() > {$BBS_img_max_width}) |
| 329 |
{ |
{ |