bootstrap_sb_admin_base_v2 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22cc70526946b42ed6eeaccf0f75a1a4fede7bc5
4
- data.tar.gz: 36d9eb9506845851c68e2196ec1c6a6aa497920d
3
+ metadata.gz: 208c04ce18dbb4308af56ecddf3a50b778420129
4
+ data.tar.gz: b43890ad9b4cc45cdd9182f1fc448165cf2b9264
5
5
  SHA512:
6
- metadata.gz: 8e80e63f15c7bab5a04706d5b6d120a1d384c1abc0e2cfd8b203feea6f3c6a46afb92485c52d5641cca7b8931cbd72861d3837643fe061776994cae7485dc375
7
- data.tar.gz: b889dafed1e37d6b68b3080398857be2af5148996ab1586b3a155a742e16b2233994b72acf3171f3d9b47e79e98f56bc4913df7504ae9632b59019bf9d429cc3
6
+ metadata.gz: b7a942a7de7e6d63306ebbf7c1a74aea01ee9225e46bca6ad6636e846a0f184a72495d4db67011d19b58dee672731075849128ecd7490145384f20a70e04949e
7
+ data.tar.gz: adaf444eca37e0db0b32222d6e362906683f59a2a8dedc2127e5607997e7bb6e567d9b0330afaa6f37eab9bdf44921396509faf08dc92be04ebf0f4d15fa52c4
@@ -1,3 +1,3 @@
1
1
  module BootstrapSbAdminBaseV2
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -2,8 +2,8 @@ $(function() {
2
2
  $('#side-menu').metisMenu();
3
3
  });
4
4
 
5
- //Loads the correct sidebar on window load,
6
- //collapses the sidebar on window resize.
5
+ // Loads the correct sidebar on window load,
6
+ // collapses the sidebar on window resize.
7
7
  // Sets the min-height of #page-wrapper to window size
8
8
  $(function() {
9
9
  $(window).bind("load resize", function() {
@@ -26,8 +26,8 @@ $(function() {
26
26
 
27
27
  var url = window.location;
28
28
  var element = $('ul.nav a').filter(function() {
29
- return this.href == url || url.href.indexOf(this.href) == 0;
30
- }).addClass('active').parent().parent().addClass('in').parent();
29
+ return this.href == url;
30
+ }).addClass('active').parents('ul').addClass('in');
31
31
  if (element.is('li')) {
32
32
  element.addClass('active');
33
33
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_sb_admin_base_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Gonzalez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler