1jQuery(document).ready(function($) { 2 3 var direction = localStorage.getItem('direction'); 4 if (direction) { 5 $('body').attr('dir', direction); 6 } 7 8 9 $('#rtl-ltr-toggler-btn').click(function() { 10 var currentDirection = $('body').attr('dir'); 11 var newDirection = currentDirection === 'rtl' ? 'ltr' : 'rtl'; 12 $('body').attr('dir', newDirection); 13 localStorage.setItem('direction', newDirection); 14 }); 15});
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.