PageSourceSearch

https://www.pusdk12.org/scripts/main-announcements-Marysville.js

js pusdk12.org collected 2026-10-02 17:07:27 UTC 1,083 bytes, 32 lines download raw bytes

1// 2022-02-15
2
3// Feed View
4
5$(document).ajaxComplete(function (event, xhr, settings) {
6  if (settings.url.includes('announcements.catapultcms.com') && $('#catapultannounce-postList .catapultannounce-item .catapultannounce-text .announcements-arrow').length <= 0) {
7    try {
8      $('.catapultannounce-description').dotdotdot({ watch: "window", after: ".readmore" })
9      $('#catapultannounce-postList .catapultannounce-item .catapultannounce-text').append('<div class="announcements-arrow"><span class="announcements-read-more">READ MORE</span><i class="fa-thin fa-arrow-right-long"></i></div>');
10    }
11
12    catch (error) {
13      console.log(error);
14    }
15  }
16  if (viewStarIconAnnouncements == true) {
17    try {
18      document.querySelector('.catapultannounce-feed-view')?.classList.add('view-star-icon');
19    }
20    catch (error) {
21      console.log(error);
22    }
23    try {
24      document.querySelector('.viewFullAnnouncementsButton')?.classList.add('view-star-icon');
25    }
26    catch (error) {
27      console.log(error);
28    }
29  } else {
30  }
31
32});

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.