Fix some undefined variables

pull/5432/head
Aleksander Machniak 8 years ago
parent f6d1c40a6b
commit a8d41ac7f4

@ -8950,7 +8950,7 @@ function rcube_webmail()
this.pdf_support_check = function()
{
var plugin = navigator.mimeTypes ? navigator.mimeTypes["application/pdf"] : {},
var i, plugin = navigator.mimeTypes ? navigator.mimeTypes["application/pdf"] : {},
plugins = navigator.plugins,
len = plugins.length,
regex = /Adobe Reader|PDF|Acrobat/i;

@ -618,7 +618,7 @@ jQuery.fn.placeholder = function(text) {
};
// function to parse query string into an object
rcube_parse_query = function(query)
var rcube_parse_query = function(query)
{
if (!query)
return {};
@ -677,7 +677,7 @@ var Base64 = (function () {
// private method for UTF-8 decoding
var utf8_decode = function (utftext) {
var i = 0, string = '', c = c2 = c3 = 0;
var i = 0, string = '', c = 0, c2 = 0, c3 = 0;
while (i < utftext.length) {
c = utftext.charCodeAt(i);

Loading…
Cancel
Save