Skip to content

Commit

Permalink
updated angular, select2, bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book committed Sep 2, 2019
1 parent 22408ac commit 4b455ce
Show file tree
Hide file tree
Showing 30 changed files with 10,582 additions and 8,208 deletions.
6 changes: 3 additions & 3 deletions geonode/static/lib/css/assets.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions geonode/static/lib/css/bootstrap.min.css

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions geonode/static/lib/js/affix.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* ========================================================================
* Bootstrap: affix.js v3.3.7
* http://getbootstrap.com/javascript/#affix
* Bootstrap: affix.js v3.4.0
* https://getbootstrap.com/docs/3.4/javascript/#affix
* ========================================================================
* Copyright 2011-2016 Twitter, Inc.
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */

Expand All @@ -16,7 +16,9 @@
var Affix = function (element, options) {
this.options = $.extend({}, Affix.DEFAULTS, options)

this.$target = $(this.options.target)
var target = this.options.target === Affix.DEFAULTS.target ? $(this.options.target) : $(document).find(this.options.target)

this.$target = target
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))

Expand All @@ -28,7 +30,7 @@
this.checkPosition()
}

Affix.VERSION = '3.3.7'
Affix.VERSION = '3.4.0'

Affix.RESET = 'affix affix-top affix-bottom'

Expand Down
11 changes: 6 additions & 5 deletions geonode/static/lib/js/alert.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* ========================================================================
* Bootstrap: alert.js v3.3.7
* http://getbootstrap.com/javascript/#alerts
* Bootstrap: alert.js v3.4.0
* https://getbootstrap.com/docs/3.4/javascript/#alerts
* ========================================================================
* Copyright 2011-2016 Twitter, Inc.
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */

Expand All @@ -18,7 +18,7 @@
$(el).on('click', dismiss, this.close)
}

Alert.VERSION = '3.3.7'
Alert.VERSION = '3.4.0'

Alert.TRANSITION_DURATION = 150

Expand All @@ -31,7 +31,8 @@
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}

var $parent = $(selector === '#' ? [] : selector)
selector = selector === '#' ? [] : selector
var $parent = $(document).find(selector)

if (e) e.preventDefault()

Expand Down
Loading

0 comments on commit 4b455ce

Please sign in to comment.