MCPcopy Index your code
hub / github.com/TruthHun/BookStack / getTargetFromTrigger

Function getTargetFromTrigger

static/bootstrap/js/bootstrap.js:695–701  ·  view source on GitHub ↗
($trigger)

Source from the content-addressed store, hash-verified

693 }
694
695 function getTargetFromTrigger($trigger) {
696 var href
697 var target = $trigger.attr('data-target')
698 || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
699
700 return $(target)
701 }
702
703
704 // COLLAPSE PLUGIN DEFINITION

Callers 1

bootstrap.jsFile · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected