thororm 9 лет назад
Родитель
Сommit
b5c259dd72
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      js/privatebin.js
  2. 1 1
      tpl/bootstrap.php
  3. 1 1
      tpl/page.php

+ 1 - 1
js/privatebin.js

@@ -2334,7 +2334,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
                     function (event) {
                     function (event) {
                         var items = (event.clipboardData || event.originalEvent.clipboardData).items;
                         var items = (event.clipboardData || event.originalEvent.clipboardData).items;
                         for (var i in items) {
                         for (var i in items) {
-                            if ({}.hasOwnProperty.call(items, i)) {
+                            if (items.hasOwnProperty(i)) {
                                 var item = items[i];
                                 var item = items[i];
                                 if (item.kind === 'file') {
                                 if (item.kind === 'file') {
                                     me.readFileData(item.getAsFile());
                                     me.readFileData(item.getAsFile());

+ 1 - 1
tpl/bootstrap.php

@@ -69,7 +69,7 @@ if ($MARKDOWN):
 <?php
 <?php
 endif;
 endif;
 ?>
 ?>
-		<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-v1nSavJqL5gvqQtfrH0cndbvFal942oTf++lgBxx/u0EYCRp2v1Oj0hcQkRYpTFdDsmXJgj06WoDdk6FvbMalw==" crossorigin="anonymous"></script>
+		<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NGt12zZ/tuVwHxTSlgSv8ulzMs60+oKdV7F8NNKPv4Qks+TVEb5u3bOp49avNbzsC1ZXvviyXeLVh8F+y7wO+A==" crossorigin="anonymous"></script>
 		<!--[if lt IE 10]>
 		<!--[if lt IE 10]>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<![endif]-->
 		<![endif]-->

+ 1 - 1
tpl/page.php

@@ -47,7 +47,7 @@ if ($MARKDOWN):
 <?php
 <?php
 endif;
 endif;
 ?>
 ?>
-		<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-v1nSavJqL5gvqQtfrH0cndbvFal942oTf++lgBxx/u0EYCRp2v1Oj0hcQkRYpTFdDsmXJgj06WoDdk6FvbMalw==" crossorigin="anonymous"></script>
+		<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NGt12zZ/tuVwHxTSlgSv8ulzMs60+oKdV7F8NNKPv4Qks+TVEb5u3bOp49avNbzsC1ZXvviyXeLVh8F+y7wO+A==" crossorigin="anonymous"></script>
 		<!--[if lt IE 10]>
 		<!--[if lt IE 10]>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<![endif]-->
 		<![endif]-->