Files
gitlabhq/app/assets/javascripts
Robert Speicher fc0d92746d Prevent a JS error in MergeRequestTabs
When `window.location.hash` is pointing to a note, e.g. `#note_1234`,
`scrollToElement` would throw an error because a selector such as
`.commits #note_1234` doesn't exist, so `offset()` returned `undefined`.

This error would prevent subsequent calls from running, which caused the
loading spinner to never be hidden.

Now we ensure the selector returns a valid element before trying to
scroll to it.
2015-10-14 15:01:25 -04:00
..
2015-10-07 04:22:55 -07:00
2015-10-07 14:59:37 +02:00
2014-12-30 11:46:48 +02:00
2014-09-01 11:49:17 +02:00
2015-04-22 16:48:39 +03:00
2015-03-17 17:11:57 +02:00
2015-10-06 11:43:32 +03:00
2015-03-04 17:22:55 -08:00
2015-05-26 19:01:11 +02:00