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:
Roman Kelesidis 2024-05-07 16:22:43 +07:00 committed by GitHub
commit 30df72e331
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -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) {