mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1472)
* Minor improvements * Update torrent_announce_urls.php * Updated * Update CHANGELOG.md * Update CHANGELOG.md * Update functions.php
This commit is contained in:
parent
54c8b0bf2c
commit
30df72e331
5 changed files with 8 additions and 8 deletions
|
@ -380,7 +380,7 @@ function initSpoilers(context) {
|
|||
$('div.sp-body', context).each(function () {
|
||||
var $sp_body = $(this);
|
||||
var name = $.trim(this.title) || '' + bbl['spoiler_head'] + '';
|
||||
var no_sp_open = ($.trim($sp_body.attr('no-sp-open')) === "true") ? ' ignore-sp-open' : '';
|
||||
var no_sp_open = ($.trim($sp_body.data('no-sp-open')) === "true") ? ' ignore-sp-open' : '';
|
||||
this.title = '';
|
||||
var $sp_head = $('<div class="sp-head folded clickable' + no_sp_open + '">' + name + '</div>');
|
||||
$sp_head.insertBefore($sp_body).click(function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue