Skip to content

Commit 360cf48

Browse files
authored
Merge pull request #62 from hashlabs/od/minor-fixes
minor fixes
2 parents bc3b21e + 3a1338e commit 360cf48

File tree

6 files changed

+13
-24
lines changed

6 files changed

+13
-24
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [Unreleased]
22

3+
### Fixed
4+
* Node JS link ([@orlando](https://github.com/orlando))
5+
* Fixing repaints ([@orlando](https://github.com/orlando))
6+
37
## 1.0.0 - 2016-06-12
48
### Added
59
* First Release!

_data/section-footer.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ menus:
2222
href: /hire-ruby-on-rails-developers
2323
text: Hire Ruby Developers
2424
- node_developers:
25-
name: Hire Node Developers
26-
href: /hire-node-developers
27-
text: Hire Node Developers
25+
name: Hire Node JS Developers
26+
href: /hire-node-js-developers
27+
text: Hire Node JS Developers
2828
- react_developers:
2929
name: Hire React Developers
3030
href: /hire-react-developers

_includes/footer-scripts.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
22
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
33
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
4-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.3/headroom.min.js"></script>
5-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.3/jQuery.headroom.min.js"></script>
64
<script src="{{ "/js/main.js" | prepend: site.baseurl }}"></script>
75

86
<!-- Start of Async Drift Code -->

_sass/_components--navbar-mobile.scss

+6-4
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ $animation--mobile-menu: all .2s ease-in-out;
3131
}
3232

3333
.mobile-menu-overlay {
34-
z-index: z('mobile-menu-overlay-unactive');
3534
background-color: rgba($black, 0.3);
35+
display: none;
36+
height: 100%;
37+
left: 0;
3638
opacity: 0;
3739
position: fixed;
38-
height: 100%;
39-
width: 100%;
4040
top: 0;
41-
left: 0;
41+
width: 100%;
42+
z-index: z('mobile-menu-overlay-unactive');
4243

4344
&.active {
4445
opacity: 1;
46+
display: block;
4547
z-index: z('mobile-menu-overlay');
4648
}
4749
}
File renamed without changes.

js/main.js

-15
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,12 @@ var HashLabs = {
2525
},
2626

2727
_bindEvents: function _bindEvents() {
28-
this._handleNavBarEvents();
2928
this._handleMobileNavEvents();
3029
this._handleVideoLoop();
3130
this._preventOrphans();
3231
this._handleAnalyticsEvents();
3332
},
3433

35-
_handleNavBarEvents: function _handleNavBarEvents() {
36-
var that = this;
37-
38-
this.navBar.headroom({
39-
onUnpin: function() {
40-
$(this).toggleClass(this.classes.unpinned, !that.linkWasClicked);
41-
$(this).toggleClass(this.classes.pinned, that.linkWasClicked);
42-
that.linkWasClicked = false;
43-
44-
return;
45-
}
46-
});
47-
},
48-
4934
_preventOrphans: function _preventOrphans() {
5035
/*
5136
We add a non breaking space (&nbsp;) between the last two

0 commit comments

Comments
 (0)