forked from Botanical/BotanJS
		
	Check for grecaptcha availibility
This commit is contained in:
		@@ -284,5 +284,6 @@ iframe[src="about:blank"] {
 | 
			
		||||
.c_so_sorry {
 | 
			
		||||
	padding: 0.2em;
 | 
			
		||||
	font-size: 0.8em;
 | 
			
		||||
	color: coral;
 | 
			
		||||
	color: orangered;
 | 
			
		||||
	display: none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -691,10 +691,18 @@
 | 
			
		||||
 | 
			
		||||
		if( !loggedIn )
 | 
			
		||||
		{
 | 
			
		||||
			var limit = 5;
 | 
			
		||||
			var i = 0;
 | 
			
		||||
			var reUUID = Perf.uuid;
 | 
			
		||||
			Cycle.perma(
 | 
			
		||||
				reUUID, function()
 | 
			
		||||
				{
 | 
			
		||||
					if( limit < i ++ )
 | 
			
		||||
					{
 | 
			
		||||
						var mesg = Dand.glass( "c_so_sorry" );
 | 
			
		||||
						if( mesg.length ) mesg[0].style.display = "block";
 | 
			
		||||
					}
 | 
			
		||||
 | 
			
		||||
					if( Recaptcha = window["grecaptcha"] )
 | 
			
		||||
					{
 | 
			
		||||
						Cycle.permaRemove( reUUID );
 | 
			
		||||
 
 | 
			
		||||
@@ -66,6 +66,10 @@
 | 
			
		||||
    height: 400px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.vertical-text > p[data-flag="date"] {
 | 
			
		||||
	color: #BBB;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.vertical-text.source > * {
 | 
			
		||||
    height: auto;
 | 
			
		||||
}
 | 
			
		||||
@@ -76,3 +80,4 @@
 | 
			
		||||
	padding: 0;
 | 
			
		||||
	visibility: hidden;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user