Difference between revisions of "MediaWiki:Common.js"

From Glossary of Forensic Document Examination & Pattern Recognition
Jump to: navigation, search
m
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
  
$('#wholeTab a').click(function (e) {
 
  e.preventDefault()
 
  $(this).tab('show')
 
})
 
 
$('#alphabeticTabs a').click(function (e) {
 
$('#alphabeticTabs a').click(function (e) {
 
   e.preventDefault()
 
   e.preventDefault()
 
   $(this).tab('show')
 
   $(this).tab('show')
 
})
 
})

Latest revision as of 15:59, 22 August 2014

/* Any JavaScript here will be loaded for all users on every page load. */

$('#alphabeticTabs a').click(function (e) {
  e.preventDefault()
  $(this).tab('show')
})