Plugin Directory

Changeset 2972300


Ignore:
Timestamp:
09/27/2023 03:08:55 PM (3 years ago)
Author:
nove2b
Message:

Update to version 0.0.6 from GitHub

Location:
create-eye-catch-for-classic
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • create-eye-catch-for-classic/tags/0.0.6/create-eye-catch.php

    r2972298 r2972300  
    55Author: nove-b
    66Author URI: https://github.com/nove-b
    7 Version: 1.1
     7Version: 1.2
    88*/
    99
     
    323323
    324324      const lastLine = rowArray[cecfc_totalLine - 1]
    325       rowArray[cecfc_totalLine - 1] = replaceLastChar(lastLine, '...');
     325      if(lastLine) {
     326        rowArray[cecfc_totalLine - 1] = replaceLastChar(lastLine, '...');
     327      }
    326328      for (let i = 0; i < rowArray.length; i++) {
    327329        if (i < cecfc_totalLine) {
  • create-eye-catch-for-classic/trunk/create-eye-catch.php

    r2972298 r2972300  
    55Author: nove-b
    66Author URI: https://github.com/nove-b
    7 Version: 1.1
     7Version: 1.2
    88*/
    99
     
    323323
    324324      const lastLine = rowArray[cecfc_totalLine - 1]
    325       rowArray[cecfc_totalLine - 1] = replaceLastChar(lastLine, '...');
     325      if(lastLine) {
     326        rowArray[cecfc_totalLine - 1] = replaceLastChar(lastLine, '...');
     327      }
    326328      for (let i = 0; i < rowArray.length; i++) {
    327329        if (i < cecfc_totalLine) {
Note: See TracChangeset for help on using the changeset viewer.