Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat-kun <Jacobthornton@gmail.com>2013-02-06 09:48:34 +0400
committerfat-kun <Jacobthornton@gmail.com>2013-02-06 09:48:34 +0400
commit6a9cd513c02a6c156769d54910f1d3931da3e568 (patch)
tree32dd1a1add8fa58e1e89f8d36255a26be6a4f927 /js/bootstrap-popover.js
parent042bb9b51510573a9a1db6bc66cb16311d0d580b (diff)
parent4b86a91e5339600e14e37d3309f2a4bb645cebc5 (diff)
Merge pull request #6783 from joprice/popoverOptionsOverride
reordered access of options in tooltip and popover
Diffstat (limited to 'js/bootstrap-popover.js')
-rw-r--r--js/bootstrap-popover.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index ca0b5eb6b9..0e7774bf66 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -58,8 +58,8 @@
, $e = this.$element
, o = this.options
- content = $e.attr('data-content')
- || (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ content = (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ || $e.attr('data-content')
return content
}
@@ -111,4 +111,4 @@
return this
}
-}(window.jQuery); \ No newline at end of file
+}(window.jQuery);