plugins: added debug_platform, code_editor
[unfold.git] / plugins / tabs / tabs.js
diff --git a/plugins/tabs/tabs.js b/plugins/tabs/tabs.js
new file mode 100644 (file)
index 0000000..bc39890
--- /dev/null
@@ -0,0 +1,13 @@
+(function($){
+
+    $.fn.Tabs = function( method ) {
+
+        $('a[data-toggle="tab"]').on('shown', function (e) {
+          google.maps.event.trigger(map, 'resize');
+          //e.target // current tab
+          //e.relatedTarget // previous tab
+        });
+
+    };
+
+})( jQuery );