/[LeafOK_CVS]/fenglin/bbs/themes/default/view_article.view.php
ViewVC logotype

Diff of /fenglin/bbs/themes/default/view_article.view.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.34 by sysadm, Wed May 7 12:12:32 2025 UTC Revision 1.35 by sysadm, Wed May 7 12:22:45 2025 UTC
# Line 311  Line 311 
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          $(document).ready(function() {          window.addEventListener("load", () => {
315                  $("#ex_dir").on("change", function(e) {                  var s = document.getElementById("ex_dir");
316                          set_ex_dir($("#ex_dir").find(":selected").val());                  if (s)
317                  });                  {
318                            s.addEventListener("change", (e) => {
319                                    set_ex_dir(s.value);
320                            });
321                    }
322    
323                  $("#move_article").on("submit", (e) => {                  var f = document.getElementById("move_article");
324                          e.preventDefault();                  if (f)
325                          if ($("#move_article").find("#sid").find(":selected").val() > 0)                  {
326                          {                          f.addEventListener("submit", (e) => {
327                                  move_article($("#move_article").find("#sid").find(":selected").val());                                  e.preventDefault();
328                          }                                  if (f.sid.value > 0)
329                  });                                  {
330                                            move_article(f.sid.value);
331                                    }
332                            });
333                    }
334            });
335    
336            $(document).ready(function() {
337                  $("img[class=auto_adjust]").on("load", function() {                  $("img[class=auto_adjust]").on("load", function() {
338                          if ($(this).width() > {$BBS_img_max_width})                          if ($(this).width() > {$BBS_img_max_width})
339                          {                          {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1