lius
2023-08-15 b82cf6ea881a2d6b8f76f38bb0cef35c69bf5da5
src/components/table2excel/table2excel.js
@@ -1,11 +1,4 @@
/*
 *  jQuery table2excel - v1.1.2
 *  jQuery plugin to export an .xls file in browser from an HTML table
 *  https://github.com/rainabba/jquery-table2excel
 *
 *  Made by rainabba
 *  Under MIT License
 */
//table2excel.js
import jQuery from 'jquery'
(function ( $, window, document, undefined ) {
@@ -77,7 +70,7 @@
          }
          // Create HTML for Row
          tempRows += "<tr style='" + additionalStyles + "'>";
          tempRows += "<tr align='center' valign='center' style='" + additionalStyles + "'>";
          // Loop through each TH and TD
          $(p).find("td,th").not(e.settings.exclude).each(function (i,q) { // p did not exist, I corrected