Skip to content

Commit

Permalink
Released version 2.3.6 (Fixed josdejong#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jan 3, 2014
1 parent 975a934 commit b47fdf1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
http://jsoneditoronline.org


## 2014-01-03, version 2.3.6

- Fixed positioning issue of the action menu.


## 2013-12-09, version 2.3.5

- Fixed a positioning issue of the action menu again.
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": "jsoneditor",
"version": "2.3.6-SNAPSHOT",
"version": "2.3.6",
"description": "A web-based tool to view, edit and format JSON",
"tags": [
"json",
Expand Down
6 changes: 3 additions & 3 deletions jsoneditor-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions jsoneditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* Copyright (c) 2011-2013 Jos de Jong, http://jsoneditoronline.org
*
* @author Jos de Jong, <[email protected]>
* @version 2.3.5
* @date 2013-12-09
* @version 2.3.6
* @date 2014-01-03
*/
(function () {

Expand Down Expand Up @@ -4561,7 +4561,7 @@ ContextMenu.prototype.show = function (anchor) {

// calculate whether the menu fits below the anchor
var windowHeight = window.innerHeight,
windowScroll = (window.pageYOffset || document.scrollTop),
windowScroll = (window.pageYOffset || document.scrollTop || 0),
windowBottom = windowHeight + windowScroll,
anchorHeight = anchor.offsetHeight,
menuHeight = this.maxHeight;
Expand Down
2 changes: 1 addition & 1 deletion jsoneditor/js/contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ ContextMenu.prototype.show = function (anchor) {

// calculate whether the menu fits below the anchor
var windowHeight = window.innerHeight,
windowScroll = (window.pageYOffset || document.scrollTop),
windowScroll = (window.pageYOffset || document.scrollTop || 0),
windowBottom = windowHeight + windowScroll,
anchorHeight = anchor.offsetHeight,
menuHeight = this.maxHeight;
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsoneditor",
"version": "2.3.6-SNAPSHOT",
"version": "2.3.6",
"main": "jsoneditor.js",
"description": "A web-based tool to view, edit and format JSON",
"tags": [
Expand All @@ -16,9 +16,7 @@
"url": "https://github.com/josdejong/jsoneditor.git"
},
"bugs": "https://github.com/josdejong/jsoneditor/issues",
"scripts": {
"prepublish": "jake"
},
"scripts": {},
"dependencies": {},
"devDependencies": {
"jake": "latest",
Expand Down

0 comments on commit b47fdf1

Please sign in to comment.