We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 6052 | Differences between
and this patch

Collapse All | Expand All

(-)a/templates/article/article.tpl (-1 / +1 lines)
 Lines 19-25    Link Here 
19
		<script type="text/javascript">{literal}
19
		<script type="text/javascript">{literal}
20
			$(document).ready(function(){
20
			$(document).ready(function(){
21
				if ($.browser.webkit) { // PDFObject does not correctly work with safari's built-in PDF viewer
21
				if ($.browser.webkit) { // PDFObject does not correctly work with safari's built-in PDF viewer
22
					var embedCode = "<object id='pdfObject' type='application/pdf' data='{/literal}{$pdfUrl}{literal}' width='99%' height='99%'><div id='pluginMissing'>{/literal}{$noPluginKey}{literal}</div></object>";
22
					var embedCode = "<object id='pdfObject' type='application/pdf' data='{/literal}{$pdfUrl}{literal}' width='99%' height='99%'><div id='pluginMissing'>{/literal}{$noPluginText}{literal}</div></object>";
23
					$("#articlePdf").html(embedCode);
23
					$("#articlePdf").html(embedCode);
24
					if($("#pluginMissing").is(":hidden")) {
24
					if($("#pluginMissing").is(":hidden")) {
25
						$('#fullscreenShow').show();
25
						$('#fullscreenShow').show();

Return to bug 6052