Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timbles

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timbles - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "timbles",
"version": "1.0.6",
"version": "1.0.7",
"description": "an p chill jQuery table plugin, made by someone who literally did not invent tables",

@@ -5,0 +5,0 @@ "main": "timbles",

@@ -6,3 +6,3 @@ /**

*
* @version 1.0.5
* @version 1.0.7
* @author jenn schiffer http://jennmoney.biz

@@ -23,2 +23,4 @@ */

var classes = {
disabled : 'disabled',
active : 'active',
headerRow : 'header-row',

@@ -427,2 +429,6 @@ label : 'label',

data.$paginationNavRowCountChoice.find('button').click(function(){
data.$paginationNavRowCountChoice.find('button').removeClass(classes.active);
$(this).addClass(classes.active);
var newRowCount = $(this).text();

@@ -451,17 +457,17 @@ if ( newRowCount.toLowerCase() == 'all' ) {

if ( data.pagination.currentPage === min ) {
data.$linkFirstPage.attr('disabled', true);
data.$linkPrevPage.attr('disabled', true);
data.$linkFirstPage.attr('disabled', true).addClass(classes.disabled);
data.$linkPrevPage.attr('disabled', true).addClass(classes.disabled);
}
else {
data.$linkFirstPage.attr('disabled', false);
data.$linkPrevPage.attr('disabled', false);
data.$linkFirstPage.attr('disabled', false).removeClass(classes.disabled);
data.$linkPrevPage.attr('disabled', false).removeClass(classes.disabled);
}
if ( data.pagination.currentPage === max ) {
data.$linkLastPage.attr('disabled', true);
data.$linkNextPage.attr('disabled', true);
data.$linkLastPage.attr('disabled', true).addClass(classes.disabled);
data.$linkNextPage.attr('disabled', true).addClass(classes.disabled);
}
else {
data.$linkLastPage.attr('disabled', false);
data.$linkNextPage.attr('disabled', false);
data.$linkLastPage.attr('disabled', false).removeClass(classes.disabled);
data.$linkNextPage.attr('disabled', false).removeClass(classes.disabled);
}

@@ -503,3 +509,3 @@

// add rows to table
data.$headerRow.after(paginatedRecordsArray);
$this.find('tbody').append(paginatedRecordsArray);

@@ -506,0 +512,0 @@ // update pagination tools

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc