Sha256: cd981bc13e9beed3dc76d24b52f20d7551ae4ff65a6e84b9751a1bdccbd74fab
Contents?: true
Size: 974 Bytes
Versions: 8
Compression:
Stored size: 974 Bytes
Contents
$(function () { $('#main_upload_start').attr('disabled', true); $("#upload_tooltip").hide(); $("#main_upload_start_span").mousemove(function(e){ if ( !$('#terms_of_service').is(':checked') ){ $('#main_upload_start').attr('disabled', true); $("#upload_tooltip").show(); $("#upload_tooltip").css({ top: (e.clientY+5)+ "px", left: (e.clientX+5) + "px" }); } else { if (filestoupload > 0) $('#main_upload_start').attr('disabled', false); $("#upload_tooltip").hide(); } }); $("#main_upload_start_span").mouseout(function(e){ $("#upload_tooltip").hide(); }); $("#main_upload_start_span").mouseleave(function(e){ $("#upload_tooltip").hide(); }); $('#terms_of_service').click(function () { $('#main_upload_start').attr('disabled', !((this.checked) && (filestoupload > 0))); $("#upload_tooltip").hide(); }); });
Version data entries
8 entries across 8 versions & 1 rubygems