Skip to content

Commit

Permalink
Update to jQuery 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Apr 14, 2015
1 parent 4844062 commit 4992ec4
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Chrome/fixed_navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function handleResize() {
var scrollbarHider = document.getElementById('scrollbarHider');
if (scrollbarHider !== null) {
scrollbarHider.style.display = 'none';
scrollbarHider.offsetHeight;
dummy = scrollbarHider.offsetHeight;
scrollbarHider.style.display = 'block';
}
if (document.getElementById('navigationWrapper') !== null) {
Expand Down
4 changes: 0 additions & 4 deletions Chrome/jquery-1.11.1.min.js

This file was deleted.

4 changes: 4 additions & 0 deletions Chrome/jquery-2.1.3.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"FB fixed navbar",
"description":"Freezes left navigation pane on Facebook",
"version":"1.1.3",
"version":"1.1.4",
"manifest_version":2,
"author": "Philipp Schirmer",
"icons": {
Expand All @@ -19,7 +19,7 @@
{
"matches": ["*://www.facebook.com/*"],
"css": ["fixed_navbar.css"],
"js": ["jquery-1.11.1.min.js", "jquery.slimscroll.min.js", "platform.js", "fixed_navbar.js"],
"js": ["jquery-2.1.3.min.js", "jquery.slimscroll.min.js", "platform.js", "fixed_navbar.js"],
"run_at": "document_end"
}
]
Expand Down
2 changes: 1 addition & 1 deletion Firefox/data/fixed_navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function handleResize() {
var scrollbarHider = document.getElementById('scrollbarHider');
if (scrollbarHider !== null) {
scrollbarHider.style.display = 'none';
scrollbarHider.offsetHeight;
dummy = scrollbarHider.offsetHeight;
scrollbarHider.style.display = 'block';
}
if (document.getElementById('navigationWrapper') !== null) {
Expand Down
4 changes: 0 additions & 4 deletions Firefox/data/jquery-1.11.1.min.js

This file was deleted.

4 changes: 4 additions & 0 deletions Firefox/data/jquery-2.1.3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Firefox/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var prefs = require("sdk/simple-prefs").prefs;

pageMod.PageMod({
include: "*.facebook.com",
contentScriptFile: [data.url("jquery-1.11.1.min.js"), data.url("jquery.slimscroll.min.js"), data.url("platform.js"), data.url("fixed_navbar.js")],
contentScriptFile: [data.url("jquery-2.1.3.min.js"), data.url("jquery.slimscroll.min.js"), data.url("platform.js"), data.url("fixed_navbar.js")],
contentStyleFile: data.url("fixed_navbar.css"),
contentScriptWhen: "end",
onAttach: function(worker) {
Expand Down
2 changes: 1 addition & 1 deletion Firefox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Freezes left navigation pane on Facebook",
"author": "Philipp Schirmer",
"license": "MPL 2.0",
"version": "1.1.2",
"version": "1.1.4",
"preferences": [{
"name": "useScrollbar",
"title": "Use scrollbar",
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ Chrome
------

Download at [Chrome Web Store](https://chrome.google.com/webstore/detail/hijonlkmghfbdpcmbimegkoogkfpckkl)
Download [.crx](https://github.com/philipp94831/FB-fixed-navbar/releases/download/v1.1.2/FB-fixed-navbar.crx)
Download [.crx](https://github.com/philipp94831/FB-fixed-navbar/releases/download/v1.1.4/FB-fixed-navbar.crx)

Firefox
-------

Download at [Add-ons for Firefox](https://addons.mozilla.org/addon/fb-fixed-navbar/)
Download [.xpi](https://github.com/philipp94831/FB-fixed-navbar/releases/download/v1.1.2/FB-fixed-navbar.xpi)
Download [.xpi](https://github.com/philipp94831/FB-fixed-navbar/releases/download/v1.1.4/FB-fixed-navbar.xpi)

Using
-----

- [jQuery 1.11.1](http://jquery.com/)
- [jQuery 2.1.3](http://jquery.com/)
- [jQuery slimScroll](http://rocha.la/jQuery-slimScroll)

For help, see our [FAQ](https://github.com/philipp94831/FB-fixed-navbar/wiki/FAQ)
Expand All @@ -28,6 +28,10 @@ Found a Bug? [File it!](https://github.com/philipp94831/FB-fixed-navbar/issues)

[Changelog:](https://github.com/philipp94831/FB-fixed-navbar/releases)

[1.1.4:](https://github.com/philipp94831/FB-fixed-navbar/releases/tag/v1.1.4)

- Update to jQuery 2.1.3

[1.1.2:](https://github.com/philipp94831/FB-fixed-navbar/releases/tag/v1.1.2)

- UI tweaks
Expand Down

0 comments on commit 4992ec4

Please sign in to comment.