From b5c259dd7269cd853b9156aa4d213bfb1b84ae6b Mon Sep 17 00:00:00 2001 From: thororm Date: Sat, 20 May 2017 16:11:32 +0200 Subject: [PATCH] Code review --- js/privatebin.js | 2 +- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index de0c0c8e..04eedac7 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2334,7 +2334,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) { function (event) { var items = (event.clipboardData || event.originalEvent.clipboardData).items; for (var i in items) { - if ({}.hasOwnProperty.call(items, i)) { + if (items.hasOwnProperty(i)) { var item = items[i]; if (item.kind === 'file') { me.readFileData(item.getAsFile()); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 344c7016..207fc96b 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -69,7 +69,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 5f784d1a..07a18516 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +