app/assets/javascripts/kinney/popovers.js in kinney-0.0.3 vs app/assets/javascripts/kinney/popovers.js in kinney-0.1.0
- old
+ new
@@ -16,21 +16,9 @@
// This is a test that ought to work in testing for touch devices
Kinney.is_touch_device = function() {
return !!('ontouchstart' in window);
}
- // We only want popovers to show up on the desktop. These are currently just
- // informational, so we do not need to show them on touch devices.
- if ( !Kinney.is_touch_device() ){
- $('[rel="popover"]').popover({
- trigger: 'hover',
- placement: Kinney.twitter_bootstrap_popover_placement
- });
-
- $('[rel="tooltip"]').tooltip();
- }
-
-
// Modals
$('.image_modal_trigger').click(function(e){
var data_target = $(this).data('target');
$(data_target).modal({
remote: false