Sha256: 513a761e50a07bcac46fdf45c9ca82ebe84cf3903f2622d7fdc60da04a64c54c

Contents?: true

Size: 566 Bytes

Versions: 52

Compression:

Stored size: 566 Bytes

Contents

$( function() {
	$( '.plugin_yahoo_search_result_raw' ).each( function( index ) {
		$(this).click( function() {
			var pos = $($('td', $(this)).get(3)).text().split(',');
			sp = parseInt(pos[0]);
			ep = parseInt(pos[1]);
			var o = $( 'textarea[name="body"]' ).get( 0 );
			o.focus();
			if ( jQuery.browser.msie ) {
				var range = document.selection.createRange();
				range.collapse();
				range.moveStart( 'character', sp );
				range.moveEnd( 'character', ep );
				range.select();
			} else {
				o.setSelectionRange( sp , sp + ep );
			}
		} );
	} );
} );

Version data entries

52 entries across 46 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 js/yahoo_kousei.js
tdiary-contrib-5.2.4 js/yahoo_kousei.js
tdiary-contrib-5.2.3 js/yahoo_kousei.js
tdiary-contrib-5.2.2 js/yahoo_kousei.js
tdiary-contrib-5.2.1 js/yahoo_kousei.js
tdiary-contrib-5.2.0 js/yahoo_kousei.js
tdiary-contrib-5.1.7 js/yahoo_kousei.js
tdiary-contrib-5.1.6 js/yahoo_kousei.js
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/js/yahoo_kousei.js
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/js/yahoo_kousei.js
tdiary-contrib-5.1.5 js/yahoo_kousei.js
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/js/yahoo_kousei.js
tdiary-contrib-5.1.4 js/yahoo_kousei.js
tdiary-contrib-5.1.3 js/yahoo_kousei.js
tdiary-contrib-5.1.2 js/yahoo_kousei.js
tdiary-contrib-5.1.1 js/yahoo_kousei.js
tdiary-contrib-5.1.0 js/yahoo_kousei.js
tdiary-contrib-5.0.13 js/yahoo_kousei.js
tdiary-contrib-5.0.12 js/yahoo_kousei.js
tdiary-contrib-5.0.11 js/yahoo_kousei.js