PageSourceSearch

https://www.cityofsanrafael.org/wp-content/plugins/wp-proud-core/m…/widgets/font-size/js/font-size.js?ver=3

js cityofsanrafael.org collected 2026-10-02 05:53:48 UTC 846 bytes, 25 lines download raw bytes

1(function($) {
2  // Reset Font Size
3  var $container = $('.wrap > .content'), 
4      originalFontSize = $container.css('font-size');
5  $(".resetFont").click(function(){
6   $container.css('font-size', originalFontSize);
7    return false;
8  });
9  // Increase Font Size
10  $(".increaseFont").click(function(){
11    var currentFontSize = $container.css('font-size'),
12        currentFontSizeNum = parseFloat(currentFontSize, 10),
13        newFontSize = currentFontSizeNum*1.2;
14    $container.css('font-size', newFontSize);
15    return false;
16  });
17  // Decrease Font Size
18  $(".decreaseFont").click(function(){
19    var currentFontSize = $container.css('font-size'),
20        currentFontSizeNum = parseFloat(currentFontSize, 10),
21        newFontSize = currentFontSizeNum*0.8;
22    $container.css('font-size', newFontSize);
23    return false;
24  });
25})(jQuery);

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.