PageSourceSearch

https://thetoonz.com/ext/kaileymsnay/qte/styles/zeina/template/jquery.qte.js?assets_version=5496

js thetoonz.com collected 2026-09-27 09:59:52 UTC 746 bytes, 32 lines download raw bytes

1/**
2 *
3 * Quick Title Edition extension for the phpBB Forum Software package
4 *
5 * @copyright (c) 2023, Kailey Snay, https://www.snayhomelab.com/
6 * @license GNU General Public License, version 2 (GPL-2.0)
7 *
8 */
9(function ($) { // Avoid conflicts with other libraries
10
11	phpbb.addAjaxCallback('qte.attr_apply', function(data) {
12
13		var new_attribute = data.NEW_ATTRIBUTE;
14		var parent = $('h1.topic-title .qte-attr');
15
16		if (new_attribute) {
17
18			if (parent.length) {
19				parent.replaceWith(new_attribute);
20			}
21			else {
22				$('h1.topic-title').prepend(new_attribute + ' ');
23			}
24		}
25		else {
26			$('h1.topic-title').html($('h1.topic-title a'));
27		}
28
29		phpbb.closeDarkenWrapper(3000);
30	});
31
32})(jQuery); // Avoid conflicts with other libraries

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.