Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 15:39, 19 February 2017
85 bytes removed
,
7 years ago
no edit summary
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. */
−
$('#myTab
a
').
click
(
function (e
)
{
+
$('#myTab').
tab
()
;
−
e.preventDefault(
)
+
}
)
−
$(this).tab('show')
+
−
})
$('a[data-toggle="tabs"]').on('shown.bs.tab', function (e) {
$('a[data-toggle="tabs"]').on('shown.bs.tab', function (e) {
e.target // newly activated tab
e.target // newly activated tab
e.relatedTarget // previous active tab
e.relatedTarget // previous active tab
})
})
−
−
$('#myTab').tab();
−
})
Anthom
13
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Home
Table of contents
All pages
Recent changes
Responses to comments
Tools
Special pages
Printable version