1.on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { e.stopPropagation() })
2
1// Can be caused by a large recursive function, i.e:
2
3function fibonacci(num){
4 if (num === 1)
5 {
6 return [0, 1]
7 }
8 else
9 {
10 var s = fibonacci(num - 1)
11 s.push(s[s.length - 1] + s[s.length - 2])
12 return s
13 }
14};
15
16fibonacci(20000)[20000]
17
18// In which case, the fix is to make it non-recursive if possible