attachment preview: some small corrections
This commit is contained in:
		
					parent
					
						
							
								dcf072e77d
							
						
					
				
			
			
				commit
				
					
						ba03ec857a
					
				
			
		
					 4 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -46,7 +46,7 @@ function parse_url_content(App $a)
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (isset($_GET['dataType']) && $_GET['dataType'] == 'json') {
 | 
			
		||||
	if (isset($_GET['format']) && $_GET['format'] == 'json') {
 | 
			
		||||
		$format = 'json';
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,8 +3,8 @@
 | 
			
		|||
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 | 
			
		||||
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 | 
			
		||||
 * 
 | 
			
		||||
 * Restructured from Rabzuarus (https://friendica.kommune4.de/profile/rabuzarus)
 | 
			
		||||
 * to use it for the decental social network Friendica (https://friendi.ca).
 | 
			
		||||
 * Restructured by Rabzuarus (https://friendica.kommune4.de/profile/rabuzarus)
 | 
			
		||||
 * to use it in the decentralized social network Friendica (https://friendi.ca).
 | 
			
		||||
 * 
 | 
			
		||||
 * Version: 1.4.0
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			@ -180,7 +180,7 @@
 | 
			
		|||
		 * @returns {void}
 | 
			
		||||
		 */
 | 
			
		||||
		var getContentData = function(binurl, callback) {
 | 
			
		||||
			$.get('parse_url?binurl='+ binurl + '&dataType=json', function (answer) {
 | 
			
		||||
			$.get('parse_url?binurl='+ binurl + '&format=json', function (answer) {
 | 
			
		||||
				obj = sanitizeInputData(answer);
 | 
			
		||||
 | 
			
		||||
				// Put the data into a cache
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1408,7 +1408,7 @@ textarea#profile-jot-text:focus + #preview_profile-jot-text {
 | 
			
		|||
    padding: 10px 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* ACL 
 | 
			
		||||
/* ACL */
 | 
			
		||||
/*#jot-modal-body {
 | 
			
		||||
    height: auto;
 | 
			
		||||
    max-height: calc(100vh - 130px);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
// We apptend the linkPreview to a global Variable to make linkPreview
 | 
			
		||||
// We append the linkPreview to a global Variable to make linkPreview
 | 
			
		||||
// accessable on other places. Note: search on other places before you
 | 
			
		||||
// delete or move the variable.
 | 
			
		||||
var linkPreview;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue