1(function ($) { 2 if (CKEDITOR) { 3 CKEDITOR.on('dialogDefinition', function(evt) { 4 var dialog = evt.data; 5 if (dialog.name === 'image') { 6 // Get dialog definition. 7 var def = evt.data.definition; 8 var originOkFunc = def.onOk; 9 10 def.onOk = function () { 11 originOkFunc.apply(this, arguments); 12 var $element = $(this.imageElement); 13 $element.attr('title', $element.attr('alt')); 14 }; 15 16 } 17 }); 18 } 19})(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.