Skip to content
Browse files

Remove data-webcomic-dynamic attribute.

Thanks to the new setup this is no longer necessary.
  • Loading branch information...
1 parent e1523bf commit a1ca3f29ff05b71b40b59d252c6c3079480ee5cd Michael Sisk committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 -/js/dynamic.js
  2. +1 −1 -/php/tags.php
View
2 -/js/dynamic.js
@@ -34,7 +34,7 @@ jQuery( function( $ ) {
}
} );
- $( document ).on( 'click', '[data-webcomic-container] [data-webcomic-dynamic][href]', function( e ) {
+ $( document ).on( 'click', '[data-webcomic-container] [href]', function( e ) {
e.preventDefault();
var url = $( this ).attr( 'href' );
View
2 -/php/tags.php
@@ -728,7 +728,7 @@ public static function relative_webcomic_link( $format, $link = '', $relative =
$link = str_replace( array_keys( $tokens ), $tokens, $link );
}
- $link = sprintf( '<a href="%s" class="%s"%s data-webcomic-dynamic>%s</a>',
+ $link = sprintf( '<a href="%s" class="%s"%s>%s</a>',
$href,
join( ' ', $class ),
( 'previous' === $relative or 'next' === $relative ) ? sprintf( ' rel="%s"', str_replace( 'ious', '', $relative ) ) : '',

0 comments on commit a1ca3f2

Please sign in to comment.
Something went wrong with that request. Please try again.