Self hosted FLOSS fitness/workout, nutrition and weight tracker
Hot fix for bootstrap's dropdown widget
Roland Geider57aff3e946cb
diff --git a/wger/manager/static/js/bootstrap.js b/wger/manager/static/js/bootstrap.jsindex 333890156..2f4312149 100644--- a/wger/manager/static/js/bootstrap.js+++ b/wger/manager/static/js/bootstrap.js@@ -170,10 +170,16 @@var selector = $this.attr('data-target'), $parent+ /*+ Roland: commented out, seems to make trouble with jQuery 1.9+ */++ /*if (!selector) {selector = $this.attr('href')selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7}+ */$parent = $(selector)$parent.length || ($parent = $this.parent())@@ -490,4 +496,4 @@$(target).collapse(option)})-}(window.jQuery);\ No newline at end of file+}(window.jQuery);