Skip to content

Commit

Permalink
#0 obrázek lze otevřít v pdboxu i bez atributu data-rel
Browse files Browse the repository at this point in the history
  • Loading branch information
zipper committed Nov 26, 2018
1 parent fc5ad36 commit d572b2e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ $ cat bower.json

## Changelog

### v1.3.3
- revert zpět k funkcionalitě z 1.3.1; 1.3.2 potenciálně rozbíjí AJAXové formuláře uvnitř pdboxu

### v1.3.2
- obrázek lze v pdboxu otevřít i bez atributu `data-rel`

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.pdbox",
"version": "1.3.2",
"version": "1.3.3",
"homepage": "https://github.com/peckadesign/jquery.pdbox",
"authors": [
"PeckaDesign, s.r.o <support@peckadesign.cz>"
Expand Down
5 changes: 1 addition & 4 deletions dist/js/jquery.pdbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @copyright Copyright (c) 2014-2018 PeckaDesign, s.r.o
* @license MIT
*
* @version 1.3.1
* @version 1.3.3
*/
$.pdBox = (function () {

Expand Down Expand Up @@ -545,9 +545,6 @@ $.pdBox = (function () {
box.window.pager.pagesCount.text($numbers.length);
}
}
else {
loadMedia(box, $el.attr('href'), $el);
}
}

function loadMedia(box, href, $el) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jquery.pdbox.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery.pdbox",
"title": "jQuery pdBox",
"description": "pdBox is thickbox-like jQeruy plugin developed in PeckaDesign",
"version": "1.3.2",
"version": "1.3.3",
"author": {
"name":"PeckaDesign, s.r.o",
"email": "support@peckadesign.cz"
Expand Down
3 changes: 0 additions & 3 deletions src/js/jquery.pdbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,6 @@ $.pdBox = (function () {
box.window.pager.pagesCount.text($numbers.length);
}
}
else {
loadMedia(box, $el.attr('href'), $el);
}
}

function loadMedia(box, href, $el) {
Expand Down

0 comments on commit d572b2e

Please sign in to comment.